@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mryhryki/markdown-preview",
3
3
  "description": "Markdown realtime preview on browser with your favorite editor",
4
- "version": "0.7.1",
4
+ "version": "0.7.2",
5
5
  "author": "mryhryki",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
@@ -268027,9 +268027,9 @@ var convertMarkdownToHtml = async (element4, markdown) => {
268027
268027
  marked2.use({
268028
268028
  renderer: {
268029
268029
  code: (token2) => {
268030
- const { lang, raw } = token2;
268030
+ const { lang, text: text4 } = token2;
268031
268031
  if (lang === "mermaid") {
268032
- return `<pre class="mermaid">${raw}</pre>`;
268032
+ return `<pre class="mermaid">${text4}</pre>`;
268033
268033
  }
268034
268034
  return false;
268035
268035
  }