Text Styles
SevenMark supports various text formatting styles using inline markers.
Basic Formatting
Bold
Use two asterisks (**) to create bold text.
**Bold text**Italic
Use single asterisk (*) to create italic text.
*Italic text*Underline
Use two underscores (__) to create underlined text.
__Underlined text__Strikethrough
Use two tildes (~~) to create strikethrough text.
~~Strikethrough text~~Superscript
Use double carets (^^) to create superscript text.
x^^2^^ + y^^2^^ = z^^2^^Subscript
Use double commas (,,) to create subscript text.
H,,2,,OSummary Table
| Style | Syntax | Example |
|---|---|---|
| Bold | **text** | Bold |
| Italic | *text* | Italic |
| Underline | __text__ | Underlined |
| Strikethrough | ~~text~~ | |
| Superscript | ^^text^^ | x^^2^^ |
| Subscript | ,,text,, | H,,2,,O |
Combined Formatting
Multiple formatting markers can be nested to combine styles:
**Bold with *italic* inside**
*Italic with **bold** inside*
__Underline with **bold** inside__
~~Strikethrough with *italic* inside~~
**__Bold and underlined__**Deep Nesting
Styles can be nested multiple levels deep:
**Bold with __underline and *italic*__ together**
This text has **bold**, *italic*, __underlined__, ~~strikethrough~~, ^^superscript^^, and ,,subscript,, formatting.Text Styles Inside Other Elements
In Headers
# **Bold** Header with *italic*
## ~~Deprecated~~ SectionIn Lists
{{{#list #1
[[**Important** item]]
[[Item with *emphasis* and __underline__]]
[[~~Removed~~ item (kept for reference)]]
}}}In Tables
{{{#table
[[[[**Header 1**]] [[*Header 2*]] [[__Header 3__]]]]
[[[[Normal cell]] [[**Bold cell**]] [[~~Struck cell~~]]]]
}}}In Styled Elements
{{{ #color="red" **Bold red text** with *italic* }}}In Blockquotes
{{{#quote
**Important:** This is a *critical* note with __emphasis__.
}}}Edge Cases
Empty Markers
Markers with no content between them are treated as literal text:
****Adjacent Styles
Different styles can appear next to each other without spaces:
**bold***italic*__underline__Markers Inside Words
Style markers work at word boundaries:
un**frigging**believableUnmatched Markers
An opening marker without a closing marker is treated as literal text:
This has an unmatched ** asteriskEscaping
Use backslash (\) to prevent markers from being interpreted as formatting:
\*Not italic\*
\**Not bold\**
\__Not underlined\__
\~~Not strikethrough\~~
\^^Not superscript\^^
\,,Not subscript\,,Escaping is useful when you need to display the literal marker characters in your text.