@dittmann/sv-markdoc
v0.0.1
Published
sv add-on that sets up svelte-markdoc-preprocess in a Svelte project
Maintainers
Readme
@dittmann/sv-markdoc
An sv community add-on that installs and configures
svelte-markdoc-preprocess in a Svelte or SvelteKit project.
Usage
npx sv add @dittmann/sv-markdocThis will:
- add
svelte-markdoc-preprocessto yourdevDependencies - add
markdoc()topreprocessin your Svelte configuration - register the
.markdoc(and.svelte) extensions
Development
bun install
bun run build
bun run demo-create # scaffold a demo project
bun run demo-add # run the add-on against it
bun run testRelease
This package is released separately from svelte-markdoc-preprocess. Before publishing, update the
version and verify that the dependency version in src/index.js matches packages/process/package.json.
bun run build
bun run test
bun run check
npm publishAfter publishing, smoke test the package from a temporary directory:
npx sv create t --add @dittmann/sv-markdoc --no-install