mirror of
https://github.com/morten-olsen/http.md.git
synced 2026-02-08 00:46:28 +01:00
feat: add javascript code block support (#13)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user