1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-06-18 00:23:11 +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);