Skip to content

Conversation

@julioest
Copy link
Collaborator

@julioest julioest commented Dec 14, 2025

This PR enhances C++ syntax highlighting in the documentation by adding support for C++ attributes (e.g., [[nodiscard]], [[noreturn]]).

Changes include:

  • Updates to cpp-highlight.css to style attributes in gray.
  • Enhancements to cpp-highlight.js for parsing C++ attributes with nesting support.
  • Minor adjustments to existing syntax highlighting rules.

@cppalliance-bot
Copy link

cppalliance-bot commented Dec 14, 2025

An automated preview of the documentation is available at https://562.site-docs.prtest2.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2025-12-15 19:59:42 UTC

@julioest julioest changed the title remove bold styling from C++ keywords feat: enhance c++ syntax highlighting with attribute support Dec 15, 2025
@julioest julioest force-pushed the cpp-highlighter-fixes branch from 849d58f to d6d934e Compare December 15, 2025 19:52
@julioest julioest merged commit b3a6fcd into boostorg:develop Dec 15, 2025
3 of 4 checks passed
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