make markdown less incompatible by disabling []() stuff.

This commit is contained in:
fiatjaf 2023-01-15 18:34:15 -03:00
parent 6b3ebe5d46
commit 7af0abdb78
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -35,7 +35,8 @@ const md = MarkdownIt({
breaks: true, breaks: true,
linkify: true linkify: true
}) })
md.use(subscript) md.disable(['link', 'image'])
.use(subscript)
.use(superscript) .use(superscript)
.use(deflist) .use(deflist)
.use(emoji) .use(emoji)