About
highlight is a typographic component that highlights a sequence of words.
Highlighting permits to add emphasis on a couple of words.
Syntax and Example
Wiki
You needs to wrap your words with two quote characters ''.
- Syntax
This text is not highlighted while ''this one is''.
- Output:
This text is not highlighted while this one is.
Markdown
We supports also the backtick markdown syntax
- Syntax
This text is not highlighted while `this one is`.
- Output:
This text is not highlighted while this one is.
Configuration
Background color
By default, the background color is based on the primary branding color if set (98% lightness).
Disable
You can disable the wiki syntax with the highlightWikiEnable configuration to get back the dokuwiki monospace output. (No background color, no mark element)