Hwaro::Models::MarkdownConfig
Inherits Reference / Object
Markdown parser configuration Maps to Markd::Options for controlling markdown parsing behavior
Constructors
Instance methods
Compact fingerprint of every field that changes rendered body HTML.
Keys Processor::Markdown.render_body_cached's memo so entries from a
previous config (e.g. after a config reload in serve) can't be
served for a build running with different markdown options.
If true, enables :::type Title … ::: custom containers,
rendered with the admonition markup (shared CSS). Unsupported
under safe mode (the raw
If true, enables :::type Title … ::: custom containers,
rendered with the admonition markup (shared CSS). Unsupported
under safe mode (the raw
Site-wide policy for absolute http(s) links in rendered markdown (Zola parity). target_blank also adds rel="noopener".
Site-wide policy for absolute http(s) links in rendered markdown (Zola parity). target_blank also adds rel="noopener".
Site-wide heading anchor links: "none" (default), "left", or "right" (Zola's values; "before"/"after" accepted as aliases for the internal style names). Page front matter overrides per page.
Site-wide heading anchor links: "none" (default), "left", or "right" (Zola's values; "before"/"after" accepted as aliases for the internal style names). Page front matter overrides per page.
Generate CDN script tags for the math engine. The markdown processor
emits \(…\)/\[…\] wrappers with class="math math-{inline,display}"
but doesn't load the renderer — without these tags the math reaches
the browser as literal TeX. Templates can opt out by overriding the
{{ math_tags }} variable or by leaving math = false and inlining
their own includes via [auto_includes].
Generate the Mermaid.js script tag. Mirrors math_tags: the markdown
processor emits <div class="mermaid">…</div>, but without a renderer
those blocks ship to the browser as DOT-like source text. Pinned to
10.x to avoid major-version drift.
If true, task-list markup gets GFM's classes (task-list-item / task-list-item-checkbox / contains-task-list) for CSS parity.
If true, task-list markup gets GFM's classes (task-list-item / task-list-item-checkbox / contains-task-list) for CSS parity.