md

fun OutputPath.md(source: Path, markdownTemplate: MarkdownTemplate = this.markdownTemplate, attributesCustomizer: StatefulAttributeCustomizer = compoundAttributeCustomizer( ProcessedMarkdownFile::hrefFixingAttributesCustomizer, ProcessedMarkdownFile::headingIDAttributeCustomizer )): <Error class: unknown class>

Convert a Markdown file to an HTML body with the given template and attribute customizer. By default, hrefFixingAttributesCustomizer to retarget hrefs to html files and headingIDAttributeCustomizer to add IDs to headings are applied.

MarkdownTemplates are functions that accept the HTML output of the Markdown parser and return more HTML. It also includes the context of the ProcessedMarkdownFile, including ProcessedMarkdownFile.frontmatter.