forked from speedie/spmenu
Clean up more pre 2.0 misinformation
This commit is contained in:
parent
1c6aecfbb0
commit
cb6b01950d
10
docs/docs.md
10
docs/docs.md
|
@ -708,14 +708,14 @@ the output. This is useful when you want to check what the output actually is.
|
|||
256 color sequences are also supported, but due to the complexity involved, they
|
||||
will not be covered in this man page.
|
||||
|
||||
## Pango markup
|
||||
## Pango markup and text formatting
|
||||
|
||||
If spmenu was compiled with Pango enabled (default), you should be able to
|
||||
utilize Pango markup in every part of spmenu. That is, the mode indicator,
|
||||
items, input, prompt, etc.
|
||||
Because spmenu uses Pango and Cairo for text drawing, Pango markup can be used
|
||||
to format text and other elements.
|
||||
|
||||
Pango markup allows you to style text similar to an HTML document. It also
|
||||
provides the `<span>` tag, which can be used to do surprisingly complex things.
|
||||
provides the `<span>` tag, which can be used to do surprisingly complex things,
|
||||
such as drawing shapes.
|
||||
|
||||
There are many convenient tags as well which can be used to
|
||||
avoid using a `<span>` tag, such as:
|
||||
|
|
9
spmenu.1
9
spmenu.1
|
@ -758,15 +758,14 @@ This is useful when you want to check what the output actually is.
|
|||
.PP
|
||||
256 color sequences are also supported, but due to the complexity
|
||||
involved, they will not be covered in this man page.
|
||||
.SS Pango markup
|
||||
.SS Pango markup and text formatting
|
||||
.PP
|
||||
If spmenu was compiled with Pango enabled (default), you should be able
|
||||
to utilize Pango markup in every part of spmenu.
|
||||
That is, the mode indicator, items, input, prompt, etc.
|
||||
Because spmenu uses Pango and Cairo for text drawing, Pango markup can
|
||||
be used to format text and other elements.
|
||||
.PP
|
||||
Pango markup allows you to style text similar to an HTML document.
|
||||
It also provides the \f[V]<span>\f[R] tag, which can be used to do
|
||||
surprisingly complex things.
|
||||
surprisingly complex things, such as drawing shapes.
|
||||
.PP
|
||||
There are many convenient tags as well which can be used to avoid using
|
||||
a \f[V]<span>\f[R] tag, such as:
|
||||
|
|
Loading…
Reference in a new issue