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

@@ -104,4 +104,4 @@
"**/*.css", "**/*.css",
"**/*.scss" "**/*.scss"
] ]
} }

View File

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

View File

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