Skip to content

Instantly share code, notes, and snippets.

@Alhadis
Last active August 1, 2023 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alhadis/f742feb8f5c871b449dff39bb3dd6f5d to your computer and use it in GitHub Desktop.
Save Alhadis/f742feb8f5c871b449dff39bb3dd6f5d to your computer and use it in GitHub Desktop.
GitHub CSS Classes for TextMate Syntax Scopes
{
"Source of truth": "https://github.com/primer/github-syntax-light",
"brackethighlighter.angle": "pl-ba",
"brackethighlighter.curly": "pl-ba",
"brackethighlighter.quote": "pl-ba",
"brackethighlighter.round": "pl-ba",
"brackethighlighter.square": "pl-ba",
"brackethighlighter.tag": "pl-ba",
"brackethighlighter.unmatched": "pl-bu",
"carriage-return": "pl-c2",
"comment": "pl-c",
"constant": "pl-c1",
"constant.character.escape": "pl-cce",
"constant.other.reference.link": "pl-corl",
"entity": "pl-e",
"entity.name": "pl-en",
"entity.name.constant": "pl-c1",
"entity.name.tag": "pl-ent",
"invalid.broken": "pl-bu",
"invalid.deprecated": "pl-bu",
"invalid.illegal": "pl-ii",
"invalid.unimplemented": "pl-bu",
"keyword.operator.symbole": "pl-kos",
"keyword.other.mark": "pl-kos",
"keyword": "pl-k",
"markup.bold": "pl-mb",
"markup.changed": "pl-mc",
"markup.deleted": "pl-md",
"markup.heading": "pl-mh",
"markup.ignored": "pl-mi2",
"markup.inserted": "pl-mi1",
"markup.italic": "pl-mi",
"markup.list": "pl-ml",
"markup.quote": "pl-ent",
"markup.raw": "pl-c1",
"markup.untracked": "pl-mi2",
"message.error": "pl-bu",
"meta.diff.range": "pl-mdr",
"meta.diff.header": "pl-c1",
"meta.diff.header.from-file": "pl-md",
"meta.diff.header.to-file": "pl-mi1",
"meta.module-reference": "pl-c1",
"meta.output": "pl-c1",
"meta.property-name": "pl-c1",
"meta.separator": "pl-ms",
"punctuation.definition.changed": "pl-mc",
"punctuation.definition.comment": "pl-c",
"punctuation.definition.deleted": "pl-md",
"punctuation.definition.inserted": "pl-mi1",
"punctuation.definition.string": "pl-pds",
"punctuation.section.embedded": "pl-pse",
"source": "pl-s1",
"source.regexp": "pl-pds",
"source.ruby.embedded": "pl-sre",
"storage.modifier.import": "pl-smi",
"storage.modifier.package": "pl-smi",
"storage.type": "pl-k",
"storage.type.java": "pl-smi",
"storage": "pl-k",
"string": "pl-s",
"string.comment": "pl-c",
"string.other.link": "pl-corl",
"string.regexp": "pl-sr",
"string.regexp.arbitrary-repitition": "pl-sra",
"string.regexp.character-class": "pl-pds",
"string.unquoted.import.ada": "pl-kos",
"sublimelinter.gutter-mark": "pl-sg",
"sublimelinter.mark.error": "pl-bu",
"sublimelinter.mark.warning": "pl-smw",
"support": "pl-c1",
"support.constant": "pl-c1",
"support.variable": "pl-c1",
"variable": "pl-v",
"variable.language": "pl-c1",
"variable.other": "pl-smi",
"variable.other.constant": "pl-c1",
"variable.parameter.function": "pl-smi"
}
@lildude
Copy link

lildude commented Mar 29, 2018

Just cos I saw you mention this elsewhere, the up-to-date source of truth is https://github.com/primer/github-syntax-light. There's also an Atom grammar at https://github.com/primer/github-atom-light-syntax

@Alhadis
Copy link
Author

Alhadis commented Apr 1, 2018

Thank you! 😀 (As I said in the related thread, I'm feeling a bit silly for not noticing this sooner...)

Especially since I think I have github-syntax-light installed as an Atom theme. 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment