highlightjs/highlight.js

(cpp) Support __ keywords

Open

#2,173 创建于 2019年10月9日

在 GitHub 查看
 (24 评论) (0 反应) (0 负责人)JavaScript (3,497 fork)batch import
enhancementgood first issuehelp welcomelanguage

仓库指标

Star
 (22,960 star)
PR 合并指标
 (平均合并 6分钟) (30 天内合并 2 个 PR)

描述

Stems from PR: https://github.com/highlightjs/highlight.js/pull/2020

See the related discussion there.

I'd prefer a separate mode, something like

So someone has to repeat that within every scope in the syntax file, yes? So if KEYWORDS is used 10 times, then they'd need to add that rule to all 50 place also, correct?

It'd be really nice to find a solution to this without a separate mode. This needs a little more though IMHO to see if that's possible before just breaking down and doing that.

贡献者指南