Combine markdown-it linkify setting
This commit is contained in:
parent
335d421a4c
commit
76ce60a3f0
@ -54,6 +54,7 @@ export default function(eleventyConfig) {
|
||||
html: true,
|
||||
linkify: true,
|
||||
})
|
||||
.set({ fuzzyLink: false })
|
||||
.use(markdownItAnchor, markdownItAnchorOptions)
|
||||
.use(markdownItAttribution)
|
||||
.use(markdownItAttrs)
|
||||
@ -61,9 +62,6 @@ export default function(eleventyConfig) {
|
||||
.use(markdownItDefList)
|
||||
.use(markdownItFootnote);
|
||||
|
||||
// Configure linkify
|
||||
markdownLibrary.linkify.set({ fuzzyLink: false });
|
||||
|
||||
// Configure markdown-it-footnote
|
||||
markdownLibrary.renderer.rules.footnote_block_open = () => (
|
||||
'<hr class="footnotes-sep">\n' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user