Expand description
Output rendering for the conversion pipeline.
This module defines the Renderer trait and provides the built-in
MarkdownRenderer. Implement Renderer to produce custom output formats
(HTML, plain text, or a custom Markdown dialect) and pass it to
DocxToMarkdown::with_components.
Structs§
- Markdown
Renderer - The built-in Markdown renderer.
Traits§
- Renderer
- Serializes a
DocumentAstinto a final output string.
Functions§
- escape_
html_ attr - Escapes a string for safe use inside an HTML attribute value.
- escape_
markdown_ link_ destination - Escapes a string for use inside a Markdown link destination (
[text](url)). - escape_
markdown_ link_ text - Escapes a string for use inside Markdown link text (
[text](url)).