ProcessedMarkdownFile

open class ProcessedMarkdownFile(var content: String, val path: Path, val markdownTemplate: MarkdownTemplate, val attributesCustomizer: StatefulAttributeCustomizer) : MarkdownFile

Constructors

Link copied to clipboard
constructor(content: String, path: Path, markdownTemplate: MarkdownTemplate, attributesCustomizer: StatefulAttributeCustomizer)

Properties

Link copied to clipboard
Link copied to clipboard
open val count: Int = 1
Link copied to clipboard
Link copied to clipboard

The 'frontmatter' of the Markdown document; e.g., the section that comes before the content:

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val path: Path
Link copied to clipboard
var tagRenderer: HtmlGenerator.TagRenderer

Functions

Link copied to clipboard
open fun generate(location: Path? = null): Path
Link copied to clipboard

Attribute customizer that remaps hrefs in links to point to HTML files instead of Markdown files.

Link copied to clipboard

A default template for md that adds OpenGraph meta tags to the HTML.

Link copied to clipboard
open override fun toString(): String