feat: add javascript code block support (#13)

This commit is contained in:
Morten Olsen
2025-05-19 10:25:53 +02:00
parent bf14ef97b8
commit c7b9abf868
7 changed files with 186 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import { responseHandler } from "./handlers.response.js";
import { textHandler } from "./handlers.text.js";
import { codeHandler } from "./handlers.code.js";
import { tocHandler } from "./handlers.toc.js";
import { javascriptHandler } from "./handlers.javascript.js";
const handlers = [
fileHandler,
@@ -16,6 +17,7 @@ const handlers = [
inputHandler,
rawMdHandler,
codeHandler,
javascriptHandler,
] satisfies ExecutionHandler[];
const postHandlers = [