feat: add dark code blocks and copy buttons to documentation

- Fixed white background in code blocks by adding custom CSS
  - Code blocks now use dark background (#1a1b26 for pre, #16161e for code)
  - Inline code matches theme colors
- Added copy buttons to all code blocks
  - Button appears on hover (top-right corner)
  - Shows 'Copy' → 'Copied!' feedback
  - Uses Clipboard API for copying code
- Copy buttons styled to match documentation theme

This improves the dark mode documentation experience with better
code block visibility and usability.
This commit is contained in:
2026-02-02 21:03:39 -05:00
parent 7d717e32a2
commit 0b979d698e
2 changed files with 169 additions and 30 deletions
+30 -30
View File
File diff suppressed because one or more lines are too long