overline: new decoration

Similar to the ‘underline’ decoration
This commit is contained in:
Daniel Eklöf 2022-02-10 18:35:45 +01:00
parent 6ac046dec3
commit 605490c872
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 111 additions and 1 deletions

View file

@ -71,6 +71,38 @@ content:
```
# OVERLINE
Similar to _underline_, this decoration renders a line of configurable
size and color at the top of the particle.
## CONFIGURATION
[[ *Name*
:[ *Type*
:[ *Req*
:[ *Description*
| size
: int
: yes
: The size (height/thickness) of the line, in pixels
| color
: color
: yes
: The color of the line. See *yambar*(5) for format.
## EXAMPLES
```
content:
string:
deco:
overline:
size: 2
color: ff0000ff
```
# BORDER
This decoration renders a border of configurable size (i.e border