diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-08 10:42:00 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-08 10:42:00 +0200 |
| commit | 179f8e056dcd39091e94f0e6f161d7e8c24af2e8 (patch) | |
| tree | 63fbaaac99db3e30ceae3be8b33de70c6dbc7b34 /CLAUDE.md | |
| parent | 5ec08055932e5af8fc23e7c4f0a4dbb9d12a1b7f (diff) | |
| download | cgit-theme-danix-179f8e056dcd39091e94f0e6f161d7e8c24af2e8.tar.gz cgit-theme-danix-179f8e056dcd39091e94f0e6f161d7e8c24af2e8.zip | |
feat(about): add README rendering with Pygments syntax highlighting
- Add about-filter.py: renders README.md via python-markdown,
highlights fenced code blocks with Pygments using existing
Catppuccin Macchiato token CSS classes
- Fix about section selector: cgit v1.2.3 emits div#summary,
not div#readme; update all rules accordingly
- Style div#summary: surface bg, purple glow, 1200px max-width
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ cgit generates fixed HTML. Key selectors used in `cgit.css`: | Line number cell | `td.linenumbers` | | Code cell | `td.lines` | | Footer | `div.footer` | +| About/README content | `div#summary` | If cgit's generated markup ever differs (version-dependent), inspect the live HTML first before changing selectors. |
