An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

Rodney Lab svelte-capsize-style Github banner



Rodney Lab logo



Svelte Capsize Style

# svelte-capsize-style

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](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).