site/quartz/plugins/transformers/linebreaks.ts
2024-04-05 02:03:11 +02:00

12 lines
260 B
TypeScript

import { QuartzTransformerPlugin } from "../types"
import remarkBreaks from "remark-breaks"
export const HardLineBreaks: QuartzTransformerPlugin = () => {
return {
name: "HardLineBreaks",
markdownPlugins() {
return [remarkBreaks]
},
}
}