mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
CommonMark
This commit is contained in:
parent
adfe69e137
commit
d74b7e274c
0
quartz/plugins/parsers/commonmark/index.ts
Normal file
0
quartz/plugins/parsers/commonmark/index.ts
Normal file
@ -11,4 +11,5 @@ export { SyntaxHighlighting } from "./syntax"
|
||||
export { TableOfContents } from "./toc"
|
||||
export { HardLineBreaks } from "./linebreaks"
|
||||
export { RoamFlavoredMarkdown } from "./markdown"
|
||||
export { CommonMarkFlavoredMarkdown } from "./markdown"
|
||||
export { CustomFlavoredMarkdown } from "./markdown"
|
||||
|
||||
@ -38,6 +38,13 @@ export const OxHugoFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>> =
|
||||
}
|
||||
}
|
||||
|
||||
export const CommonMarkFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
|
||||
const opts = { ...defaultOptions, ...userOpts }
|
||||
return {
|
||||
name: "CommonMarkFlavoredMarkdown",
|
||||
}
|
||||
}
|
||||
|
||||
export const CustomFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
|
||||
const opts = { ...defaultOptions, ...userOpts }
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user