Skip to main content Module markdown Copy item path Source MarkdownBuilder Renders a directory of Markdown files (.md) to standalone HTML documents. MarkdownBuilderConfig Configuration for MarkdownBuilder . TEMPLATE_MARKDOWN The default Tera template used to wrap rendered Markdown content in a
complete HTML5 document. Exposed as a pub const so that abbaye dump-theme can write it to .abbaye/theme/markdown.html.j2. TERA_NAME ๐ Name under which the template is registered inside the Tera instance. THEME_FILENAME ๐ Filename looked up inside .abbaye/theme/ at runtime. build_directory ๐ collect_md_files ๐ Walk dir for .md files, honouring .gitignore rules (via the ignore
crate). Returns paths in a stable, sorted order so output is reproducible. collect_referenced_files ๐ Parse md for local link and image targets that are not other Markdown
files, resolve them relative to md_pathโs parent directory, and return
those that exist as files within input_dir. default_recursive ๐ dir_name_string ๐ Extract the directory name as an owned String, falling back to "html". extract_title ๐ Scan a Markdown string for the first heading of any level and return its
plain-text content. Used to populate the <title> element. file_stem_string ๐ Extract the file stem as an owned String, falling back to "Document". load_tera ๐ Load the Tera instance for this builder invocation. render_markdown ๐ Convert a Markdown string to an HTML fragment. render_template ๐ Render the Tera template with the given title and HTML content.