Text formatting
Document writer <olivier.nicolas@insa-lyon.fr>
vxxx, 2022-xx-xx
1. Text formatting
Format | Code |
---|---|
Bold |
*your text* |
Partial Bold |
Part**ial Bold** |
Italic |
_your text_ |
Underline |
[.underline]#Your text# |
Highlight |
#Your text# |
1.1. Coloring text
Make sure your color is defined in a css file in your ui, unless it’s one of
the basic colors (Expand section).
Example:
In ui/antora-ui-default/src/css/colors.css
.BrightGreen { color: green; }
Then include the css in your project; add:
@import "colors.css";
to ui/antora-ui-default/src/css/site.css
2. Section Numbers
From: asciidoctor.org
Sections aren’t numbered by default.
However, you can enable this feature by setting the attribute sectnums.