We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
replaceFences
1 parent ad8207e commit 24eb6f2Copy full SHA for 24eb6f2
src/directives/plugin.ts
@@ -5,7 +5,7 @@ import { IOptions } from "./types"
5
6
export default function directivePlugin(md: MarkdownIt, options: IOptions): void {
7
let after = options.directivesAfter || "block"
8
- if (options.replaceFences) {
+ if (options.replaceFences ?? true) {
9
md.core.ruler.after(after, "fence_to_directive", replaceFences)
10
after = "fence_to_directive"
11
}
0 commit comments