add project page for lila and render djot pages

This commit is contained in:
2025-11-14 01:09:33 +01:00
parent 47473a53b5
commit 910038a5e3
5 changed files with 62 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ export function djotRender(content: string): string {
return djot.renderHTML(djot.parse(content));
}
export default async function djotLoader(path: string | URL) {
export async function djotLoader(path: string | URL) {
const content = await Deno.readTextFile(path);
const ast = djot.parse(content);