We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
replaceFences
1 parent 5cff9bd commit 98656b0Copy full SHA for 98656b0
src/directives/plugin.ts
@@ -16,7 +16,7 @@ export interface IOptions {
16
17
export default function directivePlugin(md: MarkdownIt, options: IOptions): void {
18
let after = options.directivesAfter || "block"
19
- if (options.replaceFences) {
+ if (options.replaceFences ?? true) {
20
md.core.ruler.after(after, "fence_to_directive", replaceFences)
21
after = "fence_to_directive"
22
}
0 commit comments