Class: Coradoc::Markdown::Highlight
- Defined in:
- lib/coradoc/markdown/model/highlight.rb
Overview
Represents highlighted text using == syntax (extended Markdown).
Example: ==highlighted text==
Instance Method Summary collapse
Methods inherited from Base
#serialize_content, #to_h, visit, #visit
Instance Method Details
#to_md ⇒ Object
13 14 15 |
# File 'lib/coradoc/markdown/model/highlight.rb', line 13 def to_md "==#{text}==" end |