Refactoring

This commit is contained in:
Artur Gurgul 2025-06-08 21:57:33 +02:00
parent 1e3833f7d0
commit aa563e60ea
37 changed files with 472 additions and 2392 deletions

11
types/markdown.d.ts vendored
View file

@ -1,7 +1,6 @@
export declare function parseMD(file: string): {
meta: {
[key: string]: any;
};
content: string | Promise<string>;
};
import Parser, { File } from "./renderer.js";
export default class Markdown implements Parser {
name: string;
loadAsHTML(filePath: string): File;
}
export declare function parseMarkdown(obj: any): void;