refactor: replace comark with custom Bun.markdown

This commit is contained in:
mitchell 2026-04-19 16:39:59 -04:00
parent dd0f85a9c8
commit c0ab652135
4 changed files with 125 additions and 244 deletions

View file

@ -1,6 +1,6 @@
import { renderMarkdown } from "./src/render/markdown.ts";
const text = await Bun.file("output.md").text();
const text = await Bun.file("test.md").text();
const [columns] = process.stdout.getWindowSize();
process.stdout.write(await renderMarkdown(text, columns));