Module futhorc::htmlrenderer
source · Expand description
Implements a custom push_html
to support footnotes in summaries.
pulldown_cmark::html::push_html
assumes that the footnote definition is
on the same page as the footnote reference, which is true for post pages,
but not for the index pages (in cases where the footnote reference appears
above the fold in the post summary, but the footnote definition is at the
bottom of the post page).
Structs
- Renders markdown
Event
s into HTML. This is largely modeled afterpulldown_cmark
’s privateHtmlWriter
struct.
Functions
- Converts
Event
s into an HTML string much likepulldown_cmark::html::push_html
except that this also supports footnote prefixes. See the module description for more details.