Skip to content

fix(docusaurus): support diff code blocks #4156 #4158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

soundproofboot
Copy link
Contributor

@soundproofboot soundproofboot commented Jun 17, 2025

resolves #4156

Changes

  • Add 'diff' to list of additionalLanguages in docusaurus.config.js
  • Move .token.inserted selector to greenish #42b983 block after verifying .token.inserted and .token.deleted will only select lines in diff blocks

Screenshot

diffBugScreenshot

Screenshot from docs/angular/build-options

@soundproofboot soundproofboot requested a review from a team as a code owner June 17, 2025 19:10
@soundproofboot soundproofboot requested a review from thetaPC June 17, 2025 19:10
Copy link

vercel bot commented Jun 17, 2025

@soundproofboot is attempting to deploy a commit to the Ionic Team on Vercel.

A member of the Team first needs to authorize it.

@brandyscarney brandyscarney changed the title bug: diff code blocks used but not supported #4156 fix(docusaurus): support diff code blocks #4156 Jun 23, 2025
Copy link

vercel bot commented Jun 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2025 2:39pm

Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Nice fix. 🚀

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.

bug: diff code blocks used but not supported
2 participants