This commit is contained in:
hackrobot
2024-05-21 20:42:49 +08:00
parent 11f53a871b
commit 3d36632dc7

View File

@@ -138,7 +138,7 @@ renderer.heading = function (text, level, raw) {
// ignore IDs
// return `📋<span>${text}</span> <br/>`;
// return `🔥<span>${text}</span> <br/>`;
return `🔥<span>${text}</span>\n`;
return `<div>🔥${text}</div>\n`;
// return `<h${level}>🔥<span>${text}</span></h${level}>\n`;
// return `<h${level}>🔥${text}</h${level}><br/>`;
@@ -181,7 +181,7 @@ renderer.blockquote = function (quote) {
// <pre></pre>
// &nbsp;
// return `<span style="white-space:pre;" class="blockquote">\t 👉${content}</span><br/> `
return `<span style="white-space:pre;" class="blockquote">\t 👉${content}</span>\n`;
return `<div style="white-space:pre;" class="blockquote">\t 👉${content}</div>\n`;
;
};