Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Deps
node_modules
node_modules/

# Output
/.svelte-kit
/build
/dist
/dist_*
/target
/.gro
/.zzz
.svelte-kit/
build/
dist/
dist_*/
target/
.gro/
.fuz/
.zzz/

# Env
.env*
Expand Down
10 changes: 10 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ A modernized fork of PrismJS optimized for runtime syntax highlighting.

See [README.md](./README.md).

## Gro commands

```bash
gro check # typecheck, test, lint, format check (run before committing)
gro typecheck # typecheck only (faster iteration)
gro test # run tests with vitest
gro gen # regenerate .gen files
gro build # build the package for production
```

## Commands

```bash
Expand Down
2 changes: 1 addition & 1 deletion src/routes/benchmark/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<div class="box width_upto_lg mx_auto">
<h1 class="mt_xl5">benchmark</h1>
<p>
<code class="font_weight_400 font_size_sm">chromium --js-flags="--expose-gc"</code>
<code class="font-weight:400 font_size_sm">chromium --js-flags="--expose-gc"</code>
</p>

<section class="panel p_lg">
Expand Down
6 changes: 3 additions & 3 deletions src/routes/samples/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</header>

<section class="mb_xl5">
<h2 class="text_align_center">HTML rendering (default)</h2>
<h2 class="text-align:center">HTML rendering (default)</h2>
<aside
class="panel p_md mb_xl3 width_upto_md mx_auto
"
Expand All @@ -37,7 +37,7 @@
<hr class="my_xl5" />

<section id="experimental">
<h2 class="text_align_center">CSS Custom Highlight API (experimental)</h2>
<h2 class="text-align:center">CSS Custom Highlight API (experimental)</h2>
<aside
class="panel p_md mb_xl3 width_upto_md mx_auto
"
Expand Down Expand Up @@ -66,7 +66,7 @@
{#each Object.values(samples) as sample (sample.name)}
<section>
<h2 class="panel p_md mb_0 box">{sample.lang}</h2>
<div class="display_flex justify_content_center flex_wrap_wrap gap_sm py_xl5">
<div class="display:flex justify-content:center flex-wrap:wrap gap_sm py_xl5">
<div class="constrain_width">
<h3>{sample.lang} html strings</h3>
<CodeHighlight content={sample.content} lang={sample.lang} mode="html" />
Expand Down
Loading