highlight.js icon indicating copy to clipboard operation
highlight.js copied to clipboard

Add CMake block command

Open madebr opened this issue 6 months ago • 1 comments

block/endblock are scope-related commands introduced in CMake 3.25:

https://cmake.org/cmake/help/latest/command/block.html

Changes

Support highlighting of block/endblock cmake commands.

Checklist

  • [ ] Added markup tests, or they don't apply here because trivial change
  • [ ] Updated the changelog at CHANGES.md

madebr avatar Jun 05 '25 11:06 madebr

Looks great! Please also update the CHANGES.md file.

joshgoebel avatar Jun 08 '25 00:06 joshgoebel