Add syntax highlighting for fenced code blocks in markdown artifacts
Enables codehilite on the markdown renderer (Pygments, 'friendly' style, vendored as static/themes/pygments.css) so fenced code blocks get real syntax highlighting with zero client-side JS - matching the "themes are CSS-only" stance in framework_artifact_rendering.md. Verified live against the running dev instance: a fenced python block renders with highlighted keyword/string/function spans. This was Gap 2 from planning/2026-09-02-artifact_kind_gaps_for_frequent_agent_output.md, picked as the first fix since it needed no new kind or design decision - just enabling an existing markdown extension. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
d9fc28aec0
commit
af9ecf28a9
5 changed files with 102 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
Django>=5.0,<6.0
|
||||
djangorestframework>=3.15,<4.0
|
||||
Markdown>=3.6,<4.0
|
||||
Pygments>=2.17,<3.0
|
||||
gunicorn>=23.0,<24.0
|
||||
whitenoise>=6.7,<7.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue