mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
656 stars 120 forks source link

2.6 million lines of code added to Export to HTML #216

Closed JFaulk1434 closed 1 year ago

JFaulk1434 commented 1 year ago

As of today's update of VSCode. When exporting markdown to HTML there is now the following be placed at bottom of HTML file:

<script async type="text/javascript">
/* From extension bierner.markdown-mermaid */
/*! For license information please see index.bundle.js.LICENSE.txt */
</script>

        </body>
        </html>

I removed the actual code but there where about 2.6 million lines of code in the script tag. Causing VSCode to come to a slow crawl. This happens using Markdown All In One - Print Document to HTML.

mjbvz commented 1 year ago

Please file this against Markdown All In One - Print Document to HTML.

The bundle is two lines line. It is roughly 2,856,462 bytes in size, or 2.9 MB which is expected and does not normally slow down vs code