I tried to learn about Eleventy, and I found it to be annoying.

22 years after my first writing my first lines of HTML, I tend to this conclusion:

My favourite static site generator is basic svelte + markdown. Voilà.

And it's super easy to do it.

- Run this command: `pnpx sv create --template=minimal --types=ts --add sveltekit-adapter="adapter:static" --add mdsvex --install pnpm my-static-app`
- Add the ".md" extension as of this: https://mdsvex.pngwn.io/docs#extensions
- Create your HTML+CSS layout
- Done.

mdsvex - svelte in markdown

Combine svelte and markdown in the same file. Live your dreams!

When this PR will be merged, step 2 will no longer be necessary: https://github.com/sveltejs/cli/pull/998

Sure, it's less "plug and play" than other tools that has themes and stuff, but hey, 11ty doesn't have theme by default, you gotta add something by yourself.

With Svelte, it's all about using "pnpm add bootstrap", adding 2 import lines in your layout's "<script>" tag, and copy/pasting the bootstrap "blog" example HTML code in your layout.
Not very heavy.

Add mdsvex MD extensions by default by Pierstoval · Pull Request #998 · sveltejs/cli

Fixes #996

GitHub