Maximum call stack, presumably due to my 3100 line long markdown file
See original GitHub issueDon’t ask why.
It’s a glorious 138kb file
Tests I did:
- Moving the mostrosity of a markdown file to the routes folder
- this did not work
- Converting it to HTML before hand and putting it in my routes
- this did work.
This makes it likely a MDsveX issue
9:07:39 PM [vite] Internal server error: Maximum call stack size exceeded
File: C:/Users/<redacted>/Personal/Notes/blog/<You really don't want to know>.md
at handle_var_declaration (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6470:10)
at VariableDeclaration (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6755:10)
at handle (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6175:17)
at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6408:18
at Array.map (<anonymous>)
at handle_body (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6407:21)
at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6489:7
at scoped_fn (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6376:10)
at handle (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6175:17)
at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6748:7
Terminate batch job (Y/N)?
^C
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Single line ends preserved in markdown output?
This is a problem because my organization requires text files, including markdown files, to observe a maximum line length of 80 characters. We' ......
Read more >Changelog for pandoc-2.0.6 - Hackage - Haskell.org
This mainly affects the Markdown reader when parsing raw LaTeX with ... Pipe tables with lines longer than the text width (as set...
Read more >Untitled
Exoil shipping and survey s.r.l. Php echo new line in text file, ... Md nazrul islam khan secretary, My everything 98 degrees guitar...
Read more >Hacks - Markdown Guide
But chances are that if you use Markdown long enough, you'll inevitably discover that it doesn't support something you need. This page provides...
Read more >The news-leader - UFDC Home - University of Florida
The Smathers Libraries would like to learn more about this item and invite individuals or organizations to contact Digital Services (UFDC@uflib.ufl.edu) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, for me it has!
out of curiosity have you tried to reproduce with a generic lorum file with a massive amount of content?