summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-09 00:13:52 +0300
committerPaul Buetow <paul@buetow.org>2025-07-09 00:13:52 +0300
commit2e70c6bf1f0d7a16c3d70512de1650bb010d13b6 (patch)
tree8966f70191b27ec6854ef4472a0958ed8e4d1d3f /README.md
parent1c1109b7e0d741a113af1d94a5741d9fe7373f04 (diff)
fix: unbound variable in html::source_highlight
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index c7b237a..f11957a 100644
--- a/README.md
+++ b/README.md
@@ -122,6 +122,16 @@ The HTML output supports source code highlighting. The requirement is to have th
...
```
+Alternatively, you can set the language to `AUTO` to enable automatic language detection:
+
+```
+ ```AUTO
+ if [ -n "$foo" ]; then
+ echo "$foo"
+ fi
+ ...
+```
+
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)