Problem: links are not clickable
All checks were successful
continuous-integration/drone/push Build is passing

Solution: auto-link links in markdown
This commit is contained in:
Peter Stuifzand 2022-01-15 01:24:30 +01:00
parent cff499800e
commit 39a3a9d270

View File

@ -5,7 +5,7 @@ import MarkdownItMark from "markdown-it-mark";
import MarkdownItKatex from "markdown-it-katex"; import MarkdownItKatex from "markdown-it-katex";
const MD = new MarkdownIt({ const MD = new MarkdownIt({
linkify: false, linkify: true,
highlight: function (str, lang) { highlight: function (str, lang) {
if (lang === 'mermaid') { if (lang === 'mermaid') {
return '<div class="mermaid">' + str + '</div>'; return '<div class="mermaid">' + str + '</div>';