mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
4e23e67244
* feat: plugin for remark-breaks * fix: update package-lock.json * fix: styling Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com> * Update linebreaks.ts * Update index.ts --------- Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
11 lines
260 B
TypeScript
11 lines
260 B
TypeScript
import { QuartzTransformerPlugin } from "../types"
|
|
import remarkBreaks from "remark-breaks"
|
|
|
|
export const HardLineBreaks: QuartzTransformerPlugin = () => {
|
|
return {
|
|
name: "HardLineBreaks",
|
|
markdownPlugins() {
|
|
return [remarkBreaks]
|
|
},
|
|
}
|
|
}
|