Formatting¶
Zensical provides support for several HTML elements that can be used to highlight sections of a document or apply specific formatting.
Configuration¶
This configuration enables support for keyboard keys, defining sub- and superscript and highlighting text. Add the following lines to your configuration:
See additional configuration options:
Usage¶
Highlight text¶
When Caret, Mark & Tilde are enabled, text can be highlighted with a simple
syntax, which is more convenient that directly using the corresponding
mark, ins and del HTML tags:
- ==This was marked (highlight)==
- ^^This was inserted (underline)^^
- ~~This was deleted (strikethrough)~~
- This was marked (highlight)
- This was inserted (underline)
This was deleted (strikethrough)
Sub- and superscripts¶
When Caret & Tilde are enabled, text can be sub- and
superscripted with a simple syntax, which is more convenient than directly
using the corresponding sub and sup HTML tags:
- H2O
- ATA
Add keyboard keys¶
When Keys is enabled, keyboard keys can be rendered with a simple syntax. Consult the Python Markdown Extensions documentation to learn about all available shortcodes:
Ctrl+Alt+Del