Module processor

Module processor 

Source

Structs§

MarkdownOptions
Options for configuring the Markdown processor.
MarkdownProcessor
Main Markdown processor struct.
PromptTransformer
Extract all inline text from a heading node. AST transformer for processing command and REPL prompts in inline code blocks.

Traits§

AstTransformer
Trait for AST transformations (e.g., prompt highlighting).

Functions§

apply_gfm_extensions
Apply GitHub Flavored Markdown (GFM) extensions to the input markdown.
collect_markdown_files
Collect all markdown files from the input directory
process_autolinks
Process autolinks by converting plain URLs to HTML anchor tags.
process_block_elements
Process block elements in markdown content.
process_file_includes
Process file includes in Nixpkgs/NixOS documentation.
process_inline_anchors
Process inline anchors in markdown content.
process_manpage_references
Process manpage references in HTML content.
process_option_references
Process option references Rewrites NixOS/Nix option references in HTML output.
process_role_markup
Process role markup in markdown content.