https://github.com/rodneylab/svelte-capsize-style
Svelte Capsize styling: how you can use the Capsize typography tooling with SvelteKit to layout text predictably in your ❤️ Svelte app.
https://github.com/rodneylab/svelte-capsize-style
capsize svelte sveltekit typography
Last synced: 11 months ago
JSON representation
Svelte Capsize styling: how you can use the Capsize typography tooling with SvelteKit to layout text predictably in your ❤️ Svelte app.
- Host: GitHub
- URL: https://github.com/rodneylab/svelte-capsize-style
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2022-04-28T00:40:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T11:19:37.000Z (over 1 year ago)
- Last Synced: 2025-02-26T00:28:44.490Z (over 1 year ago)
- Topics: capsize, svelte, sveltekit, typography
- Language: Svelte
- Homepage:
- Size: 472 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

Svelte Capsize Style
# svelte-capsize-style
[](https://stackblitz.com/github/rodneylab/svelte-capsize-style)
Demo code for Shiki syntax highlighting with SvelteKit. The code accompanies the post on using Capsize with Svelte. If you have any questions, please drop a comment at the bottom of that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/svelte-capsize-style.git
cd svelte-capsize-style
pnpm install # or npm install
pnpm run dev
```
## Building
```bash
pnpm run build
```
> You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).