css-classes-reference.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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. | **ReasonML** |
  118. +--------------------------+---------------------------------------------------+
  119. | operator | reasonml operator such as pipe |
  120. +--------------------------+---------------------------------------------------+
  121. | pattern-match | reasonml pattern matching matchers |
  122. +--------------------------+---------------------------------------------------+
  123. | typing | type signatures on function parameters |
  124. +--------------------------+---------------------------------------------------+
  125. | constructor | type constructors |
  126. +--------------------------+---------------------------------------------------+
  127. | module-access | scope access into a ReasonML module |
  128. +--------------------------+---------------------------------------------------+
  129. | module | ReasonML module reference within scope access |
  130. +--------------------------+---------------------------------------------------+
  131. Language names and aliases
  132. --------------------------
  133. The language names and aliases table has moved to `the project
  134. README <https://github.com/highlightjs/highlight.js#supported-languages>`_.