Skip to main content

render_adr

Function render_adr 

Source
pub fn render_adr(
    markdown: &str,
    fallback_title: &str,
    pages: &PublishedPages,
) -> RenderedAdr
Expand description

Render one ADR markdown document to a themed HTML page. Leading YAML frontmatter is stripped; the title is the first # heading, or fallback if there is none. ADR [[…]] links resolve to sibling ADR pages.