Open dslatkin opened 1 year ago
Unfortunately this is expected right now. We need a full blank line between the svelte and the markdown code in order for it to be parsed correctly.
If you add a new line before and after the paragraph text it should work.
This is one of the issues that will be be addressed in the current rewrite.
You should be able to build the project using the dev container definition on the following commit to see the issue:
https://github.com/dslatkin/campkahagon.info/tree/be961aa7112c79a021e5efd637d0169fa9066570
Opening it in a GitHub Codespace should make it easy. Basically, the file at
/src/routes/photos/+page.svelte
has an issue where the source code is (essentially) this:But then then the following error gets thrown by Vite:
You can see the more colorful screenshot below:
My
svelte.config.js
is:I feel like it's possible I'm doing something wrong here, but I'm not sure what it would be. This is with Svelte 3 - I have yet to upgrade to Svelte 4 for this project.