1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 14:30:01 +00:00

Enable linkify for Markdown parser

Autoconvert URL-like text to links
This commit is contained in:
Kfir Hadas 2017-06-05 02:28:55 +03:00
parent 476afafa09
commit 467270837c

View file

@ -148,6 +148,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
var markdownOptions = { var markdownOptions = {
html : false, html : false,
breaks : true, breaks : true,
linkify: true,
typographer: true typographer: true
} }
var markdown = window.markdownit(markdownOptions); var markdown = window.markdownit(markdownOptions);