Class: Coradoc::Markdown::FootnoteReference
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Base
- Coradoc::Markdown::FootnoteReference
- Defined in:
- lib/coradoc/markdown/model/footnote_reference.rb
Overview
FootnoteReference model representing an inline footnote reference.
Syntax: ‘[^name]` anywhere in text
Instance Method Summary collapse
-
#to_md ⇒ Object
Serialize to Markdown.
Methods inherited from Base
#serialize_content, #to_h, visit, #visit
Instance Method Details
#to_md ⇒ Object
Serialize to Markdown
17 18 19 |
# File 'lib/coradoc/markdown/model/footnote_reference.rb', line 17 def to_md "[^#{id}]" end |