Disable HTML escaping bug
Code blocks aren't effected by this setting.
This commit is contained in:
parent
79145a1e8c
commit
009d777c43
|
@ -95,8 +95,11 @@
|
|||
// import { Remarkable } from "https://cdn.jsdelivr.net/npm/remarkable@2.0.1/dist/esm/index.browser.min.js";
|
||||
// import { linkify } from "https://cdn.jsdelivr.net/npm/remarkable@2.0.1/dist/esm/linkify.js";
|
||||
|
||||
|
||||
|
||||
|
||||
const md = new remarkable.Remarkable({
|
||||
html: true, breaks: true, typographer: true,
|
||||
html: false, breaks: true, typographer: true,
|
||||
highlight: function (str, lang) {
|
||||
if (lang && hljs.getLanguage(lang)) {
|
||||
return hljs.highlight(lang, str).value;
|
||||
|
|
Loading…
Reference in New Issue