Skip to main content

render_org_inline

Function render_org_inline 

Source
pub fn render_org_inline<F: OutputFormat<Output = String>>(
    src: &str,
    fmt: &F,
) -> String
Expand description

Render org-mode inline markup by walking the orgize event stream.

Parses src as org-mode and maps inline elements to OutputFormat methods: bold (*text*) → strong, italic (/text/) → emph, verbatim/code → text (stripped), links ([[url][desc]]) → link, plain text → text. Container elements (Bold, Italic) are collected via a stack so nested markup is handled correctly.