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:
commit
7540b0c86b
|
@ -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