Skip to content

fix: diff-syntaxhighlighting in codeblokken - #971

Open
dvh wants to merge 1 commit into
mainfrom
fix/prism-languages
Open

dvh wants to merge 1 commit into
mainfrom
fix/prism-languages

Conversation

@dvh

@dvh dvh commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Wat

diff toegevoegd aan prism.additionalLanguages in docusaurus.config.ts.

Waarom

prism-react-renderer bundelt diff niet, en Docusaurus valt dan zonder melding terug op platte tekst. Daardoor werden de diff-blokken in de blogpost Het is zover: OpenLint vervangt Spectral niet rood en groen gekleurd. Het theme a11y-light heeft al stijlen voor de tokens inserted en deleted.

Getest

pnpm docusaurus build slaagt. In de gebouwde blogpost krijgen de regels nu de tokens inserted en deleted.

🤖 Generated with Claude Code

https://claude.ai/code/session_011NBaQWTPA9qqDfzog3emSX

Prism laadt `diff` niet standaard, waardoor de diff-blokken in de
blogpost over OpenLint als platte tekst werden getoond.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011NBaQWTPA9qqDfzog3emSX
@changeset-bot

changeset-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2cca47d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Super-linter summary

Language Validation result
JSON Pass ✅
OPENAPI Pass ✅

All files and directories linted successfully

For more information, see the
GitHub Actions workflow run

Powered by Super-linter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

1 participant