mirror of
https://github.com/jaspervdj/patat.git
synced 2024-12-02 06:37:32 +03:00
Bump README
This commit is contained in:
parent
94e38fdf64
commit
542b289192
24
README.md
24
README.md
@ -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
|
||||
------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user