feat: add remark-breaks to make for more natural writing

This commit is contained in:
Zoe
2026-02-25 19:46:46 -06:00
parent c3370c27a7
commit 5f3f81da72
3 changed files with 9 additions and 0 deletions
+2
View File
@@ -1,5 +1,6 @@
import { unified } from 'unified';
import remarkParse from 'remark-parse';
import remarkBreaks from 'remark-breaks';
import remarkGfm from 'remark-gfm';
import remarkRehype from 'remark-rehype';
import remarkMath from 'remark-math';
@@ -9,6 +10,7 @@ export default defineNuxtPlugin((nuxtApp) => {
const remark =
unified()
.use(remarkParse)
.use(remarkBreaks)
.use(remarkGfm)
.use(remarkMath)
.use(remarkRehype, { allowDangerousHtml: true })