MD::details::HtmlVisitor::FootnoteRefStuff Struct

struct MD::details::HtmlVisitor::FootnoteRefStuff

Auxiliary struct to process footnotes. More...

Public Variables

long long m_count
long long m_current
typename Trait::String m_id

Detailed Description

This structure is used to form ID of footnote reference in generated HTML.

ID of footnote reference in HTML looks like "ref-{FOOTNOTE_ID}-{NUMBER_OF_REFERENCE_WITH_THIS_FOOTNOTE_ID}"

Member Variable Documentation

long long FootnoteRefStuff::m_count

Count of references with this ID.

Used to generate back links from footnote to footnote reference.

long long FootnoteRefStuff::m_current

Number of footnote reference with this ID.

This number places to {NUMBER_OF_REFERENCE_WITH_THIS_FOOTNOTE_ID}.

typename Trait::String FootnoteRefStuff::m_id

ID of footnote.

This ID places to {FOOTNOTE_ID}.