New in Kitten¹: Markdown fragments
You can now write your Markdown in separate .fragment.md files and `import()` them as if they were JavaScript modules, just like you can with HTML and CSS fragments.
And while they don’t support props, they do support slots (including named slots, which you can use as poor man’s props.)
Enjoy!
@aral oh my this is fantastic. I use Astro and while it has slotting, named slots are so much more intuitive.
@shankarux Thanks, Shankar. Do let me know how you get on if you have a play with it (and ping me if you run into any issues; it’s still pre-release but the core functionality is pretty mature at this point) :)
@aral sure will try it out!