@mryhryki/markdown-preview 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -268027,9 +268027,9 @@ var convertMarkdownToHtml = async (element4, markdown) => {
|
|
|
268027
268027
|
marked2.use({
|
|
268028
268028
|
renderer: {
|
|
268029
268029
|
code: (token2) => {
|
|
268030
|
-
const { lang,
|
|
268030
|
+
const { lang, text: text4 } = token2;
|
|
268031
268031
|
if (lang === "mermaid") {
|
|
268032
|
-
return `<pre class="mermaid">${
|
|
268032
|
+
return `<pre class="mermaid">${text4}</pre>`;
|
|
268033
268033
|
}
|
|
268034
268034
|
return false;
|
|
268035
268035
|
}
|