PageRenderTime 51ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 1ms

/docs/css-classes-reference.rst

https://gitlab.com/insantr/highlight.js
ReStructuredText | 410 lines | 404 code | 6 blank | 0 comment | 0 complexity | add06a3a6dbc82ad9031cce65191e6d4 MD5 | raw file
  1. CSS classes reference
  2. =====================
  3. Stylable classes
  4. ----------------
  5. +------------------------------------------------------------------------------+
  6. | **General-purpose** |
  7. +--------------------------+---------------------------------------------------+
  8. | keyword | keyword in a regular Algol-style language |
  9. +--------------------------+---------------------------------------------------+
  10. | built_in | built-in or library object (constant, class, |
  11. | | function) |
  12. +--------------------------+---------------------------------------------------+
  13. | type | user-defined type in a language with first-class |
  14. | | syntactically significant types, like Haskell |
  15. +--------------------------+---------------------------------------------------+
  16. | literal | special identifier for a built-in value ("true", |
  17. | | "false", "null") |
  18. +--------------------------+---------------------------------------------------+
  19. | number | number, including units and modifiers, if any. |
  20. +--------------------------+---------------------------------------------------+
  21. | regexp | literal regular expression |
  22. +--------------------------+---------------------------------------------------+
  23. | string | literal string, character |
  24. +--------------------------+---------------------------------------------------+
  25. | subst | parsed section inside a literal string |
  26. +--------------------------+---------------------------------------------------+
  27. | symbol | symbolic constant, interned string, goto label |
  28. +--------------------------+---------------------------------------------------+
  29. | class | class or class-level declaration (interfaces, |
  30. | | traits, modules, etc) |
  31. +--------------------------+---------------------------------------------------+
  32. | function | function or method declaration |
  33. +--------------------------+---------------------------------------------------+
  34. | title | name of a class or a function at the place of |
  35. | | declaration |
  36. +--------------------------+---------------------------------------------------+
  37. | params | block of function arguments (parameters) at the |
  38. | | place of declaration |
  39. +--------------------------+---------------------------------------------------+
  40. | **Meta** |
  41. +--------------------------+---------------------------------------------------+
  42. | comment | comment |
  43. +--------------------------+---------------------------------------------------+
  44. | doctag | documentation markup within comments |
  45. +--------------------------+---------------------------------------------------+
  46. | meta | flags, modifiers, annotations, processing |
  47. | | instructions, preprocessor directive, etc |
  48. +--------------------------+---------------------------------------------------+
  49. | meta-keyword | keyword or built-in within meta construct |
  50. +--------------------------+---------------------------------------------------+
  51. | meta-string | string within meta construct |
  52. +--------------------------+---------------------------------------------------+
  53. | **Tags, attributes, configs** |
  54. +--------------------------+---------------------------------------------------+
  55. | section | heading of a section in a config file, heading in |
  56. | | text markup |
  57. +--------------------------+---------------------------------------------------+
  58. | tag | XML/HTML tag |
  59. +--------------------------+---------------------------------------------------+
  60. | name | name of an XML tag, the first word in an |
  61. | | s-expression |
  62. +--------------------------+---------------------------------------------------+
  63. | builtin-name | s-expression name from the language standard |
  64. | | library |
  65. +--------------------------+---------------------------------------------------+
  66. | attr | name of an attribute with no language defined |
  67. | | semantics (keys in JSON, setting names in .ini), |
  68. | | also sub-attribute within another highlighted |
  69. | | object, like XML tag |
  70. +--------------------------+---------------------------------------------------+
  71. | attribute | name of an attribute followed by a structured |
  72. | | value part, like CSS properties |
  73. +--------------------------+---------------------------------------------------+
  74. | variable | variable in a config or a template file, |
  75. | | environment var expansion in a script |
  76. +--------------------------+---------------------------------------------------+
  77. | **Markup** |
  78. +--------------------------+---------------------------------------------------+
  79. | bullet | list item bullet in text markup |
  80. +--------------------------+---------------------------------------------------+
  81. | code | code block in text markup |
  82. +--------------------------+---------------------------------------------------+
  83. | emphasis | emphasis in text markup |
  84. +--------------------------+---------------------------------------------------+
  85. | strong | strong emphasis in text markup |
  86. +--------------------------+---------------------------------------------------+
  87. | formula | mathematical formula in text markup |
  88. +--------------------------+---------------------------------------------------+
  89. | link | hyperlink in text markup |
  90. +--------------------------+---------------------------------------------------+
  91. | quote | quotation in text markup |
  92. +--------------------------+---------------------------------------------------+
  93. | **CSS** |
  94. +--------------------------+---------------------------------------------------+
  95. | selector-tag | tag selector in CSS |
  96. +--------------------------+---------------------------------------------------+
  97. | selector-id | #id selector in CSS |
  98. +--------------------------+---------------------------------------------------+
  99. | selector-class | .class selector in CSS |
  100. +--------------------------+---------------------------------------------------+
  101. | selector-attr | [attr] selector in CSS |
  102. +--------------------------+---------------------------------------------------+
  103. | selector-pseudo | :pseudo selector in CSS |
  104. +--------------------------+---------------------------------------------------+
  105. | **Templates** |
  106. +--------------------------+---------------------------------------------------+
  107. | template-tag | tag of a template language |
  108. +--------------------------+---------------------------------------------------+
  109. | template-variable | variable in a template language |
  110. +--------------------------+---------------------------------------------------+
  111. | **diff** |
  112. +--------------------------+---------------------------------------------------+
  113. | addition | added or changed line in a diff |
  114. +--------------------------+---------------------------------------------------+
  115. | deletion | deleted line in a diff |
  116. +--------------------------+---------------------------------------------------+
  117. Language names and aliases
  118. --------------------------
  119. +-------------------------+---------------------------------------------------+
  120. | 1C | 1c |
  121. +-------------------------+---------------------------------------------------+
  122. | Access logs | accesslog |
  123. +-------------------------+---------------------------------------------------+
  124. | Ada | ada |
  125. +-------------------------+---------------------------------------------------+
  126. | ARM assembler | armasm, arm |
  127. +-------------------------+---------------------------------------------------+
  128. | AVR assembler | avrasm |
  129. +-------------------------+---------------------------------------------------+
  130. | ActionScript | actionscript, as |
  131. +-------------------------+---------------------------------------------------+
  132. | Apache | apache, apacheconf |
  133. +-------------------------+---------------------------------------------------+
  134. | AppleScript | applescript, osascript |
  135. +-------------------------+---------------------------------------------------+
  136. | AsciiDoc | asciidoc, adoc |
  137. +-------------------------+---------------------------------------------------+
  138. | AspectJ | aspectj |
  139. +-------------------------+---------------------------------------------------+
  140. | AutoHotkey | autohotkey |
  141. +-------------------------+---------------------------------------------------+
  142. | AutoIt | autoit |
  143. +-------------------------+---------------------------------------------------+
  144. | Axapta | axapta |
  145. +-------------------------+---------------------------------------------------+
  146. | Bash | bash, sh, zsh |
  147. +-------------------------+---------------------------------------------------+
  148. | Basic | basic |
  149. +-------------------------+---------------------------------------------------+
  150. | BNF | bnf |
  151. +-------------------------+---------------------------------------------------+
  152. | Brainfuck | brainfuck, bf |
  153. +-------------------------+---------------------------------------------------+
  154. | C# | cs, csharp |
  155. +-------------------------+---------------------------------------------------+
  156. | C++ | cpp, c, cc, h, c++, h++, hpp |
  157. +-------------------------+---------------------------------------------------+
  158. | C/AL | cal |
  159. +-------------------------+---------------------------------------------------+
  160. | Cache Object Script | cos, cls |
  161. +-------------------------+---------------------------------------------------+
  162. | CMake | cmake, cmake.in |
  163. +-------------------------+---------------------------------------------------+
  164. | CSP | csp |
  165. +-------------------------+---------------------------------------------------+
  166. | CSS | css |
  167. +-------------------------+---------------------------------------------------+
  168. | Cap’n Proto | capnproto, capnp |
  169. +-------------------------+---------------------------------------------------+
  170. | Clojure | clojure, clj |
  171. +-------------------------+---------------------------------------------------+
  172. | CoffeeScript | coffeescript, coffee, cson, iced |
  173. +-------------------------+---------------------------------------------------+
  174. | Crmsh | crmsh, crm, pcmk |
  175. +-------------------------+---------------------------------------------------+
  176. | Crystal | crystal, cr |
  177. +-------------------------+---------------------------------------------------+
  178. | D | d |
  179. +-------------------------+---------------------------------------------------+
  180. | DNS Zone file | dns, zone, bind |
  181. +-------------------------+---------------------------------------------------+
  182. | DOS | dos, bat, cmd |
  183. +-------------------------+---------------------------------------------------+
  184. | Dart | dart |
  185. +-------------------------+---------------------------------------------------+
  186. | Delphi | delphi, dpr, dfm, pas, pascal, freepascal, |
  187. | | lazarus, lpr, lfm |
  188. +-------------------------+---------------------------------------------------+
  189. | Diff | diff, patch |
  190. +-------------------------+---------------------------------------------------+
  191. | Django | django, jinja |
  192. +-------------------------+---------------------------------------------------+
  193. | Dockerfile | dockerfile, docker |
  194. +-------------------------+---------------------------------------------------+
  195. | dsconfig | dsconfig |
  196. +-------------------------+---------------------------------------------------+
  197. | DTS (Device Tree) | dts |
  198. +-------------------------+---------------------------------------------------+
  199. | Dust | dust, dst |
  200. +-------------------------+---------------------------------------------------+
  201. | Elixir | elixir |
  202. +-------------------------+---------------------------------------------------+
  203. | Elm | elm |
  204. +-------------------------+---------------------------------------------------+
  205. | Erlang | erlang, erl |
  206. +-------------------------+---------------------------------------------------+
  207. | Excel | xls, xlsx |
  208. +-------------------------+---------------------------------------------------+
  209. | F# | fsharp, fs |
  210. +-------------------------+---------------------------------------------------+
  211. | FIX | fix |
  212. +-------------------------+---------------------------------------------------+
  213. | Fortran | fortran, f90, f95 |
  214. +-------------------------+---------------------------------------------------+
  215. | G-Code | gcode, nc |
  216. +-------------------------+---------------------------------------------------+
  217. | Gams | gams, gms |
  218. +-------------------------+---------------------------------------------------+
  219. | GAUSS | gauss, gss |
  220. +-------------------------+---------------------------------------------------+
  221. | Gherkin | gherkin |
  222. +-------------------------+---------------------------------------------------+
  223. | Go | go, golang |
  224. +-------------------------+---------------------------------------------------+
  225. | Golo | golo, gololang |
  226. +-------------------------+---------------------------------------------------+
  227. | Gradle | gradle |
  228. +-------------------------+---------------------------------------------------+
  229. | Groovy | groovy |
  230. +-------------------------+---------------------------------------------------+
  231. | HTML, XML | xml, html, xhtml, rss, atom, xjb, xsd, xsl, plist |
  232. +-------------------------+---------------------------------------------------+
  233. | HTTP | http, https |
  234. +-------------------------+---------------------------------------------------+
  235. | Haml | haml |
  236. +-------------------------+---------------------------------------------------+
  237. | Handlebars | handlebars, hbs, html.hbs, html.handlebars |
  238. +-------------------------+---------------------------------------------------+
  239. | Haskell | haskell, hs |
  240. +-------------------------+---------------------------------------------------+
  241. | Haxe | haxe, hx |
  242. +-------------------------+---------------------------------------------------+
  243. | Ini | ini |
  244. +-------------------------+---------------------------------------------------+
  245. | Inform7 | inform7, i7 |
  246. +-------------------------+---------------------------------------------------+
  247. | IRPF90 | irpf90 |
  248. +-------------------------+---------------------------------------------------+
  249. | JSON | json |
  250. +-------------------------+---------------------------------------------------+
  251. | Java | java, jsp |
  252. +-------------------------+---------------------------------------------------+
  253. | JavaScript | javascript, js, jsx |
  254. +-------------------------+---------------------------------------------------+
  255. | Lasso | lasso, ls, lassoscript |
  256. +-------------------------+---------------------------------------------------+
  257. | Less | less |
  258. +-------------------------+---------------------------------------------------+
  259. | LDIF | ldif |
  260. +-------------------------+---------------------------------------------------+
  261. | Lisp | lisp |
  262. +-------------------------+---------------------------------------------------+
  263. | LiveCode Server | livecodeserver |
  264. +-------------------------+---------------------------------------------------+
  265. | LiveScript | livescript, ls |
  266. +-------------------------+---------------------------------------------------+
  267. | Lua | lua |
  268. +-------------------------+---------------------------------------------------+
  269. | Makefile | makefile, mk, mak |
  270. +-------------------------+---------------------------------------------------+
  271. | Markdown | markdown, md, mkdown, mkd |
  272. +-------------------------+---------------------------------------------------+
  273. | Mathematica | mathematica, mma |
  274. +-------------------------+---------------------------------------------------+
  275. | Matlab | matlab |
  276. +-------------------------+---------------------------------------------------+
  277. | Maxima | maxima |
  278. +-------------------------+---------------------------------------------------+
  279. | Maya Embedded Language | mel |
  280. +-------------------------+---------------------------------------------------+
  281. | Mercury | mercury |
  282. +-------------------------+---------------------------------------------------+
  283. | Mizar | mizar |
  284. +-------------------------+---------------------------------------------------+
  285. | Mojolicious | mojolicious |
  286. +-------------------------+---------------------------------------------------+
  287. | Monkey | monkey |
  288. +-------------------------+---------------------------------------------------+
  289. | Moonscript | moonscript, moon |
  290. +-------------------------+---------------------------------------------------+
  291. | NSIS | nsis |
  292. +-------------------------+---------------------------------------------------+
  293. | Nginx | nginx, nginxconf |
  294. +-------------------------+---------------------------------------------------+
  295. | Nimrod | nimrod, nim |
  296. +-------------------------+---------------------------------------------------+
  297. | Nix | nix |
  298. +-------------------------+---------------------------------------------------+
  299. | OCaml | ocaml, ml |
  300. +-------------------------+---------------------------------------------------+
  301. | Objective C | objectivec, mm, objc, obj-c |
  302. +-------------------------+---------------------------------------------------+
  303. | OpenGL Shading Language | glsl |
  304. +-------------------------+---------------------------------------------------+
  305. | OpenSCAD | openscad, scad |
  306. +-------------------------+---------------------------------------------------+
  307. | Oracle Rules Language | ruleslanguage |
  308. +-------------------------+---------------------------------------------------+
  309. | Oxygene | oxygene |
  310. +-------------------------+---------------------------------------------------+
  311. | PF | pf, pf.conf |
  312. +-------------------------+---------------------------------------------------+
  313. | PHP | php, php3, php4, php5, php6 |
  314. +-------------------------+---------------------------------------------------+
  315. | Parser3 | parser3 |
  316. +-------------------------+---------------------------------------------------+
  317. | Perl | perl, pl, pm |
  318. +-------------------------+---------------------------------------------------+
  319. | PowerShell | powershell, ps |
  320. +-------------------------+---------------------------------------------------+
  321. | Processing | processing |
  322. +-------------------------+---------------------------------------------------+
  323. | Prolog | prolog |
  324. +-------------------------+---------------------------------------------------+
  325. | Protocol Buffers | protobuf |
  326. +-------------------------+---------------------------------------------------+
  327. | Puppet | puppet, pp |
  328. +-------------------------+---------------------------------------------------+
  329. | Python | python, py, gyp |
  330. +-------------------------+---------------------------------------------------+
  331. | Python profiler results | profile |
  332. +-------------------------+---------------------------------------------------+
  333. | Q | k, kdb |
  334. +-------------------------+---------------------------------------------------+
  335. | QML | qml |
  336. +-------------------------+---------------------------------------------------+
  337. | R | r |
  338. +-------------------------+---------------------------------------------------+
  339. | RenderMan RIB | rib |
  340. +-------------------------+---------------------------------------------------+
  341. | RenderMan RSL | rsl |
  342. +-------------------------+---------------------------------------------------+
  343. | Roboconf | graph, instances |
  344. +-------------------------+---------------------------------------------------+
  345. | Ruby | ruby, rb, gemspec, podspec, thor, irb |
  346. +-------------------------+---------------------------------------------------+
  347. | Rust | rust, rs |
  348. +-------------------------+---------------------------------------------------+
  349. | SCSS | scss |
  350. +-------------------------+---------------------------------------------------+
  351. | SQL | sql |
  352. +-------------------------+---------------------------------------------------+
  353. | STEP Part 21 | p21, step, stp |
  354. +-------------------------+---------------------------------------------------+
  355. | Scala | scala |
  356. +-------------------------+---------------------------------------------------+
  357. | Scheme | scheme |
  358. +-------------------------+---------------------------------------------------+
  359. | Scilab | scilab, sci |
  360. +-------------------------+---------------------------------------------------+
  361. | Smali | smali |
  362. +-------------------------+---------------------------------------------------+
  363. | Smalltalk | smalltalk, st |
  364. +-------------------------+---------------------------------------------------+
  365. | Stan | stan |
  366. +-------------------------+---------------------------------------------------+
  367. | Stata | stata |
  368. +-------------------------+---------------------------------------------------+
  369. | Stylus | stylus, styl |
  370. +-------------------------+---------------------------------------------------+
  371. | Swift | swift |
  372. +-------------------------+---------------------------------------------------+
  373. | Tcl | tcl, tk |
  374. +-------------------------+---------------------------------------------------+
  375. | TeX | tex |
  376. +-------------------------+---------------------------------------------------+
  377. | Thrift | thrift |
  378. +-------------------------+---------------------------------------------------+
  379. | TP | tp |
  380. +-------------------------+---------------------------------------------------+
  381. | Twig | twig, craftcms |
  382. +-------------------------+---------------------------------------------------+
  383. | TypeScript | typescript, ts |
  384. +-------------------------+---------------------------------------------------+
  385. | VB.Net | vbnet, vb |
  386. +-------------------------+---------------------------------------------------+
  387. | VBScript | vbscript, vbs |
  388. +-------------------------+---------------------------------------------------+
  389. | VHDL | vhdl |
  390. +-------------------------+---------------------------------------------------+
  391. | Vala | vala |
  392. +-------------------------+---------------------------------------------------+
  393. | Verilog | verilog, v |
  394. +-------------------------+---------------------------------------------------+
  395. | Vim Script | vim |
  396. +-------------------------+---------------------------------------------------+
  397. | x86 Assembly | x86asm |
  398. +-------------------------+---------------------------------------------------+
  399. | XL | xl, tao |
  400. +-------------------------+---------------------------------------------------+
  401. | XQuery | xpath, xq |
  402. +-------------------------+---------------------------------------------------+
  403. | Zephir | zephir, zep |
  404. +-------------------------+---------------------------------------------------+