... | ... | @@ -4,20 +4,22 @@ |
|
|
|
|
|
Useful references for manually creating CSS/SCSS themes for Highlight.
|
|
|
|
|
|
|
|
|
-----
|
|
|
|
|
|
**Table of Contents**
|
|
|
|
|
|
<!-- #toc -->
|
|
|
<!-- MarkdownTOC autolink="true" bracket="round" autoanchor="false" lowercase="only_ascii" uri_encoding="true" levels="1,2,3" -->
|
|
|
|
|
|
- [Introduction](#introduction)
|
|
|
- [Notes on Highlight HTML Output](#notes-on-highlight-html-output)
|
|
|
- [Table of Language Elements’ CSS Classes](#table-of-language-elements-css-classes)
|
|
|
- [Introduction](#introduction)
|
|
|
- [Notes on Highlight HTML Output](#notes-on-highlight-html-output)
|
|
|
- [Table of Language Elements’ CSS Classes](#table-of-language-elements%E2%80%99-css-classes)
|
|
|
|
|
|
<!-- /toc -->
|
|
|
<!-- /MarkdownTOC -->
|
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
|
# Introduction
|
|
|
|
|
|
Language definition files define the syntax of language elements. Colour themes define how these language elements should be formatted in the final highlighted document.
|
... | ... | @@ -83,4 +85,4 @@ The rest of the language elements counterparts (including line numbers) concern |
|
|
| `Keywords`\>`Id=3` | `.hl .kwc` | Keywords group 3 (`c`) |
|
|
|
| `Keywords`\>`Id=4` | `.hl .kwd` | Keywords group 4 (`d`) |
|
|
|
|
|
|
To define CSS `Keywords` groups above `Id=4`, just keep incrementing the last letter in the “`.kw*`” class name — Eg: `.kwe`, `.kwf`, `.kwg`, …, `.kwz`. |
|
|
To define CSS `Keywords` groups above `Id=4`, just keep incrementing the last letter in the "`.kw*`" class name — Eg: `.kwe`, `.kwf`, `.kwg`, …, `.kwz`. |