Small, dependency-free Markdown subset used by the WebContent engine.
Source: target-root/usr/local/lib/solidgroundux/py/webcontent/markdown.py
Small, dependency-free Markdown subset used by the WebContent engine.
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_captioned_figure | Render explicitly captioned standalone images without altering other markup. | — | — |
_safe_url | Handle safe url for the web content workflow. | — | — |
_image_dimensions | Return safe inline image sizing; omit invalid or absent dimensions. | — | — |
_render_inline | Render inline Markdown constructs into HTML while escaping content. | — | — |
_render_inline.stash | Handle stash for the web content workflow. | - fragment: Input used by this operation. | — |
_render_inline.code_repl | Handle code repl for the web content workflow. | - match: Input used by this operation. | — |
_render_inline.image_repl | Handle image repl for the web content workflow. | - match: Input used by this operation. | — |
_render_inline.link_repl | Handle link repl for the web content workflow. | - match: Input used by this operation. | — |
_render_inline.style_repl | Handle style repl for the web content workflow. | - match: Input used by this operation. | — |
_render_inline.autolink_repl | No purpose documented in source. | — | — |
_render_paragraph | Join soft lines and preserve CommonMark space/backslash hard breaks. | — | — |
_heading_id | Create a predictable Unicode-friendly anchor from a heading's plain text. | — | — |
_render_list | Render nested ordered/unordered lists using indentation and item boundaries. | — | — |
_is_table_separator | Handle is table separator for the web content workflow. | — | — |
_table_cells | Handle table cells for the web content workflow. | — | — |
_starts_block | Handle starts block for the web content workflow. | — | — |
_render_quoted_markdown | Preserve code blocks embedded in legacy quoted documentation. | — | — |
_render_quoted_markdown.flush_prose | No purpose documented in source. | — | — |
_render_lines | Render a line range and optionally stop at the matching `:::` marker. | — | — |
The renderer intentionally supports a compact Testadura extension syntax using `::: class-name` component blocks. Component blocks may be nested, which lets site authors compose reusable layout primitives such as grids containing tiles without dropping down to raw HTML.
