feat(server) layout handling; placekeeper wip

This commit is contained in:
gh0sTedBuddy
2024-03-28 07:07:35 +00:00
parent b6503f1831
commit 0e0b51fa24
8 changed files with 223 additions and 200 deletions

View File

@@ -34,7 +34,7 @@ export default class MarkdownEngine {
['sections', sections],
['variables', variables],
['metadata', metadata],
['mimeType', file.type || 'text/html'],
['mimeType', file.type || 'text/markdown'],
['size', file.size],
])
);
@@ -42,6 +42,7 @@ export default class MarkdownEngine {
console.log(filepath, this.#internalCache.get(filepath));
return {
mimeType: file.type || 'text/markdown',
parse: (data = null, options = {}) =>
this.parse(filepath, data, options),
};