Set markdown-it linkify feature to true

This commit is contained in:
Helen Chong 2024-05-31 12:47:16 +08:00
parent 32aa460a84
commit 41d33019e5
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ module.exports = function (eleventyConfig) {
/* Markdown Overrides */ /* Markdown Overrides */
let markdownLibrary = markdownIt({ let markdownLibrary = markdownIt({
html: true, html: true,
linkify: true,
}) })
.use(markdownItAnchor, markdownItAnchorOptions) .use(markdownItAnchor, markdownItAnchorOptions)
.use(require("markdown-it-attribution")) .use(require("markdown-it-attribution"))