mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 13:33:22 +00:00
Merge pull request #12 from fiatjaf/markdown-less-bad-hamstr
make markdown less incompatible by disabling []() stuff.
This commit is contained in:
commit
fbdceb6f04
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user