add project page for lila and render djot pages
This commit is contained in:
2
_djot.ts
2
_djot.ts
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user