Skip to content

Typography & Text Formatting

Extensions: pymdownx.caret, pymdownx.mark, pymdownx.tilde, pymdownx.betterem

Basic Formatting

Regular text with bold, italic, bold italic, strikethrough, highlighted text, superscript, and subscript.

Regular text with **bold**, *italic*, ***bold italic***,
~~strikethrough~~, ==highlighted text==, ^^superscript^^,
and ~subscript~.

Combined Formatting

bold and highlighted, strikethrough italic, superscript bold

**==bold and highlighted==**, ~~*strikethrough italic*~~,
^^superscript **bold**^^

Extension Reference

Syntax Result Extension
**bold** bold built-in
*italic* italic built-in
~~strikethrough~~ strikethrough tilde
==highlight== highlight mark
^^superscript^^ superscript caret
~subscript~ subscript tilde