highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.31k stars 3.52k forks source link

enh(cpp) add numbers to preprocessor scope #3930

Closed joshgoebel closed 3 months ago

joshgoebel commented 7 months ago

Changes

Checklist

github-actions[bot] commented 7 months ago

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

7 files changed

Total change +0 B

View Changes | file | base | pr | diff | | --- | --- | --- | --- | | es/core.min.js | 8.14 KB | 8.14 KB | -2 B | | es/highlight.min.js | 8.14 KB | 8.14 KB | -2 B | | es/languages/arduino.min.js | 4.57 KB | 4.57 KB | +1 B | | es/languages/cpp.min.js | 2.58 KB | 2.58 KB | +2 B | | highlight.min.js | 8.17 KB | 8.17 KB | -2 B | | languages/arduino.min.js | 4.58 KB | 4.58 KB | +1 B | | languages/cpp.min.js | 2.59 KB | 2.59 KB | +2 B |
joshgoebel commented 5 months ago

Lets add a markup test for this as well, and would this also make sense to apply to C?