refactor: replace comark with custom Bun.markdown
This commit is contained in:
parent
dd0f85a9c8
commit
c0ab652135
4 changed files with 125 additions and 244 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue