dynamic markdown
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rei
2022-12-27 17:33:00 +01:00
parent 16a53e169a
commit bc51e625b4
14 changed files with 1042 additions and 41 deletions

13
types/types.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
export interface FrontMatter {
[prop: string]: string;
}
export interface MarkdownDocument {
frontMatter: FrontMatter;
content: string;
}
export interface MarkdownRenderingResult {
frontMatter: FrontMatter;
html: string;
}