mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:00:00 +00:00
Enable linkify
for Markdown parser
Autoconvert URL-like text to links
This commit is contained in:
parent
476afafa09
commit
467270837c
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue