chore: Cleanup package.json

This commit is contained in:
Sidharth Vinod
2022-11-23 16:08:41 +05:30
parent f8b05f7d75
commit cc1c98325c
3 changed files with 5 additions and 5 deletions

View File

@@ -27,9 +27,9 @@ const MermaidExample = async (md: MarkdownRenderer) => {
<button class="copy"></button>
<span class="lang">mermaid</span>
${
// html is pre-escaped by the highlight function
// (it also adds `v-pre` to ignore Vue template syntax)
md.options.highlight(token.content, 'mermaid', langAttrs)
// html is pre-escaped by the highlight function
// (it also adds `v-pre` to ignore Vue template syntax)
md.options.highlight(token.content, 'mermaid', langAttrs)
}
</div>`;
} else if (token.info.trim() === 'mermaid') {

View File

@@ -20,7 +20,7 @@ export default {
// router.go isn't loading the ID properly.
window.location.href = `/mermaid/${newPath}`;
}
} catch (e) { }
} catch (e) {}
};
},
} as typeof DefaultTheme;