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 #3975

Closed TOMWT-qwq closed 3 months ago

TOMWT-qwq commented 5 months ago

Changes

Checklist

joshgoebel commented 3 months ago

I think we need to make a new rule or a variant so that only define highlights numbers... not every compiler directive should have this behavior, right? Trying to think of false positive cases...