Skip to main content

Search

Items tagged with: shiki


Fixed a long-standing color contrast problem on my website 🎉

Been using (h/t @KiwiKilian) remark-shiki-twoslash as an @eleventy v3 replacement for eleventy-plugin-shiki-twoslash to highlight syntax in Markdown code blocks.

But it's stuck on an old Shiki version with no accessible themes. So I forked it!

@olets/eleventy-plugin-shiki-twoslash has high contrast themes and supports Eleventy 3. (CJS->ESM side quest: createRequire)

github.com/olets/shiki

#shiki #eleventy #FrontEnd #a11y

⇧