Front matter
CloudAwesome.MarkdownMaker.Docusaurus provides basic support for the three official plugins provided in @docusaurus/preset-classic (Docs, Blogs, and Pages).
Docs
Create a new instance of MdDocuFrontMatterDocs, which implements IFrontMatter and populate any properties you require.
This class included all properties currently supported by the docs plugin. Any null properties left unpopulated will not be rendered in the output.
MdDocument.Add(
new MdFrontMatter(
new MdDocuFrontMatterDocs
{
title = "This is a doc title",
hide_title = true,
toc_min_heading_level = 4
}
)
);
Will output the following markdown:
---
title: This is a doc title
hide_title: true
toc_min_heading_level: 4
---
# This is a header
View the official Docusaurus plugin docs for more information.
Blog
Todo
Not yet implemented
Pages
Todo
Not yet implemented