diff options
| author | Paul Buetow <paul@buetow.org> | 2024-05-18 13:24:43 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-05-18 13:24:43 +0300 |
| commit | 9aa92c98d3c886013750590abd2d8a07a48dc17e (patch) | |
| tree | 7c94a3cdb40d47f4a195b77a5be499f274c2d438 /README.md | |
| parent | e132268eaf9348ecc421de63eeb9bcf522be70ee (diff) | |
add support for GNU Source Highlight CSS styles, e.g. to have a darker style.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,6 +123,10 @@ The HTML output supports source code highlighting. The requirement is to have th Please run `source-highlight --lang-list` for a list of all supported languages. +For available styles, have a look here: [GNU Source-highlight Style Examples](https://www.gnu.org/savannah-checkouts/gnu/src-highlite/style_examples.html) + +You can configure the path to the source highlight CSS in the `gemtexter.conf` with `declare -xr SOURCE_HIGHLIGHT_CSS=/usr/share/source-highlight/sh_vampire.css`, for example. + ### Templating Since version `2.0.0`, Gemtexter supports templating. A template file name must have the suffix `gmi.tpl`. A template must be put into the same directory as the Gemtext `.gmi` file to be generated. Gemtexter will generate a Gemtext file `index.gmi` from a given template `index.gmi.tpl`. All lines starting with `<< ` will be evaluated as a single line of Bash code and the output will be written into the resulting Gemtext file. A `<<<` and `>>>` encloses a multiline template. |
