Skip to content

add proposal states, syntax highlighting#18

Open
a10y wants to merge 7 commits intodevelopfrom
aduffy/states
Open

add proposal states, syntax highlighting#18
a10y wants to merge 7 commits intodevelopfrom
aduffy/states

Conversation

@a10y
Copy link
Contributor

@a10y a10y commented Feb 27, 2026

Adds proposal states, which are just directories that indicate what state a proposal is in. When a proposal gets accepted, it moves to the accepted folder. When it's been implemented, it moves to the completed folder.

image

Also updates our build to use Shiki, which is a fully build-time syntax highlighter, doesn't require the client to fetch any deps so page loads still stay small and fast. I have configured it to only use the grammars for Rust, markdown, and Python for now. CI times are still < 10 seconds.

image

a10y added 4 commits February 27, 2026 16:00
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
a10y added 3 commits February 27, 2026 16:24
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@connortsui20
Copy link
Contributor

connortsui20 commented Feb 27, 2026

I assume I need to install something on mac for this? I get this error:

❯ bun run dev
$ bun run index.ts --dev
Building Vortex RFC site...

Processing accepted/0005-extension-types.md...
error: Cannot find module 'shiki/wasm' from '/Users/connor/.bun/install/cache/shiki@4.0.0@@@1/dist/bundle-full.mjs'

Shouldn't bun be able to add this on its own?

Edit: I had to do https://shiki.style/guide/install with bun add -D shiki

Copy link
Contributor

@connortsui20 connortsui20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If its possible to get bun to auto-install shiki then I think this is good to go

```

RFC filenames follow the format `NNNN-slug.md` (e.g., `0001-galp-patches.md`).
Numbering is global across all states - no duplicates allowed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we are doing this by PR number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants