Browse Source

Problem: links are not clickable

Solution: auto-link links in markdown
master
Peter Stuifzand 7 months ago
parent
commit
39a3a9d270
  1. 2
      editor/src/markdown.js

2
editor/src/markdown.js

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

Loading…
Cancel
Save