Problem: links are not clickable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Solution: auto-link links in markdown
This commit is contained in:
parent
cff499800e
commit
39a3a9d270
|
@ -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>';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user