quartz-research-note/quartz/plugins/transformers/linebreaks.ts

12 lines
260 B
TypeScript
Raw Normal View History

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