Bump README

This commit is contained in:
Jasper Van der Jeugt 2016-10-17 13:03:02 +02:00
parent 94e38fdf64
commit 542b289192

View File

@ -16,10 +16,13 @@ Features:
- [Theming](#theming) support.
- Optionally [re-wrapping](#configuration) text to terminal width with proper
indentation.
- Syntax highlighting for nearly one hundred languages generated from [Kate]
syntax files.
- Written in [Haskell].
![screenshot](extra/screenshot.png?raw=true)
[Kate]: https://kate-editor.org/
[Haskell]: http://haskell.org/
[Pandoc]: http://pandoc.org/
@ -33,6 +36,7 @@ Table of Contents
- [Input format](#input-format)
- [Configuration](#configuration)
- [Theming](#theming)
- [Syntax Highlighting](#syntax-highlighting)
- [Trivia](#trivia)
Installation
@ -248,6 +252,26 @@ The accepted styles are:
- `vividWhite`
- `vividYellow`
### Syntax Highlighting
As part of theming, syntax highlighting is also configurable. This can be
configured like this:
---
patat:
theme:
syntaxHighlighting:
decVal: [bold, onDullRed]
...
...
`decVal` refers to "decimal values". This is known as a "token type". For a
full list of token types, see [this list] -- the names are derived from there in
an obvious way.
[this list]: https://hackage.haskell.org/package/highlighting-kate-0.6.3/docs/Text-Highlighting-Kate-Types.html#t:TokenType
Trivia
------