Class: Luo::ParserMarkdown::CustomRenderer
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- Luo::ParserMarkdown::CustomRenderer
- Defined in:
- lib/luo/parser_markdown.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#language ⇒ Object
readonly
Returns the value of attribute language.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
26 27 28 |
# File 'lib/luo/parser_markdown.rb', line 26 def code @code end |
#language ⇒ Object (readonly)
Returns the value of attribute language.
26 27 28 |
# File 'lib/luo/parser_markdown.rb', line 26 def language @language end |
Instance Method Details
#block_code(code, language) ⇒ Object
28 29 30 31 |
# File 'lib/luo/parser_markdown.rb', line 28 def block_code(code, language) @code = code @language = language end |