MDsveX
vitest-svelte-kit
Our great sponsors
MDsveX | vitest-svelte-kit | |
---|---|---|
16 | 2 | |
2,179 | 44 | |
- | - | |
7.1 | 6.6 | |
17 days ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MDsveX
- Ask HN: Looking for lightweight personal blogging platform
-
Crafting Custom flavored Markdown for Svelte with mdsvex
In the ever-evolving world of web development, content remains king. For sites heavy with documentation, blogs, guides, changelogs, or engineering wikis, Markdown has emerged as the go-to language for crafting readable, maintainable content. However, the standard Markdown might not always fit the bill, especially when you're looking to add a unique touch or specific functionality to your Svelte-powered websites. Enter mdsvex - a Svelte preprocessor that not only understands Markdown but extends its capabilities, allowing developers to introduce custom-flavored Markdown.
-
recommended CMS to use with SvelteKit?
I was working on my blog websites. The current method I use to add more posts is using mdsvex(https://github.com/pngwn/MDsveX) it turns my markdown files into post.
- How to include a set of prebuilt documentation html pages into sveltekit pages?
-
Help with tabs component
Oh right sorry. MDSVEX is a preprocessor for using Svelte components in markdown files. SVX is just the file format for it
-
How to render svelte component called in a string?
If mdsvex is not applicable, I would still look through it's sources to see how they handle it and maybe find some useful ideas. Looks like there are multiple packages that handle all that parsing and preparing: https://github.com/pngwn/MDsveX/tree/master/packages
-
STWUI - Svelte-TailwindCSS UI
You can use those components in plain markdown. We will have to write documentation for inlang. Instead of requiring a preprocessor like MDX, MDsvex, or Stripe Markdoc, web components can be used instead. Reducing boilerplate, increasing maintainability and last but not least the community does not have to reinvent the wheel for every markdown preprocessor. Just use the platform. Just use web components in markdown.
-
best way to build a personal blog post with svelte and markdown
SvelteKit plus mdsvex. There are quite a few examples out there, e.g. https://github.com/rodneylab/sveltekit-blog-mdx.
-
Using Svelte+Kit for our company website [self-promotion]
One issue we previously had with parsing Markdown with MDsveX was how to get a list of blogs without embedding all the blog content into some JS files... There's quite a few posts online and that's why I figured I'd talk about it here because it seems to be a common pain with SvelteKit and adapter-static. Ultimately what we did was use route parameters and different endpoints for the different requests, which you can see here.
-
Blogging in SvelteKit
We’re going to use mdsvex to render our Markdown posts. It’s a Markdown preprocessor for Svelte which allows you to use Svelte templating and components amongst your Markdown.
vitest-svelte-kit
-
Rich Harris - The Road to SvelteKit 1.0 (Svelte Society NYC)
This example from the vitest-svelte-kit package repo uses @testing-library/svelte in the same way a lot of Jest examples do: they render the component and interact with the DOM.
-
Svelte Starter Kit - Helpful Learning Resources & Packages
vitest-svelte-kit: Automatically configure Vitest from your SvelteKit configuration.
What are some alternatives?
marked - A markdown parser and compiler. Built for speed.
SvelteKit - web development, streamlined
remark-directive - remark plugin to support directives
svelte-actions - prototype official actions for Svelte
vite-imagetools - Load and transform images using a toolbox :toolbox: of custom import directives!
Vest - Vest ✅ Declarative validations framework
svelte-adders - Easily add integrations and other functionality to Svelte apps
svelte-tiny-virtual-list - A tiny but mighty list virtualization library for Svelte, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
website - Verifa website written in Go with Templ + HTMX
sveltekit-autoimport - Automatically detect and import components/modules for SvelteKit projects