Skip to content

[highlightcode] Update bundled highlight.js package and improve language alias matching#552

Open
robertsim007 wants to merge 4 commits into
ONLYOFFICE:masterfrom
robertsim007:highlightcode-upgrade
Open

[highlightcode] Update bundled highlight.js package and improve language alias matching#552
robertsim007 wants to merge 4 commits into
ONLYOFFICE:masterfrom
robertsim007:highlightcode-upgrade

Conversation

@robertsim007
Copy link
Copy Markdown

Summary

This updates the vendored highlight.js package used by the highlightcode plugin and improves language alias matching in the picker.

The main reason for the update was to add VHDL syntax highlighting support for lab reports. The alias matching changes also make common inputs like c++, c#, yml, and sh resolve more reliably.

What changed

  • updated the vendored highlight.js package to the latest bundled release with all supported languages
  • improved language picker alias matching
  • rebuilt the deploy package
  • updated the changelog for 1.0.4

Manual verification

  • VHDL highlighting
  • c++ alias finds cpp
  • c# alias finds csharp
  • yml alias finds yaml
  • sh alias finds bash
  • JavaScript formatting
  • TypeScript formatting
  • CSS formatting
  • XML formatting
  • PHP formatting
  • Markdown formatting

highlightcode-update-test.docx

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 9, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants