Skip to content

docs: add Shiki syntax highlighting and fixed-height code block on ho…#76

Merged
amavashev merged 1 commit intomainfrom
claude/clarify-api-key-docs-L5wR1
Mar 17, 2026
Merged

docs: add Shiki syntax highlighting and fixed-height code block on ho…#76
amavashev merged 1 commit intomainfrom
claude/clarify-api-key-docs-L5wR1

Conversation

@amavashev
Copy link
Contributor

…mepage

  • Use Shiki's createHighlighter with dual themes (github-light/github-dark) for proper syntax coloring that matches the rest of the site
  • Set min-height on code block to prevent layout shift when switching tabs
  • Fallback to plain text until Shiki loads

https://claude.ai/code/session_01HftF1nebzvUzQy4y4zGJk6

…mepage

- Use Shiki's createHighlighter with dual themes (github-light/github-dark)
  for proper syntax coloring that matches the rest of the site
- Set min-height on code block to prevent layout shift when switching tabs
- Fallback to plain text until Shiki loads

https://claude.ai/code/session_01HftF1nebzvUzQy4y4zGJk6
@amavashev amavashev merged commit 6ef967c into main Mar 17, 2026
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