docs: Add markdoc-svelte package #1579
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
markdoc-svelte
is a very useful alternative tomdsvex
for rendering markdown content. The Markdoc support also makes it easier to create advanced types of content, like composable blocks for website builders and documentation sites.After successfully using
mdsvex
for many years, my team has found an even better solution and started usingmarkdoc-svelte
in several projects lately. This has enabled much more flexibility for dynamic content, compared to MDSveX and MDX. In addition,markdoc-svelte
has better support for layouts, TypeScript, metadata, and Svelte 5 compared tomdsvex
.I hope a low download count is not a blocker for adding new, high quality packages like this one.
I'm not sure about the optimal order, but think it makes sense to showcase early since markdown and similar content types are very common. Perhaps this could even be added as number 2 or 3 to be visible above the fold, since the package is a solid alternative to
mdsvex
.Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.