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

Merge pull request #240 from sharkykh/md-linkify

Enable `linkify` for Markdown parser
This commit is contained in:
Johnny Ding 2017-06-04 22:42:45 -07:00 committed by GitHub
commit 7540b0c86b

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);