Skip to content

Text Styles ​

Put inline markers around text to select bold, italic, or another text style.

Basic Formatting ​

Bold ​

Use two asterisks (**) to create bold text.

sevenmark
**Bold text**

Italic ​

Use single asterisk (*) to create italic text.

sevenmark
*Italic text*

Underline ​

Use two underscores (__) to create underlined text.

sevenmark
__Underlined text__

Strikethrough ​

Use two tildes (~~) to create strikethrough text.

sevenmark
~~Strikethrough text~~

Superscript ​

Use double carets (^^) to create superscript text.

sevenmark
x^^2^^ + y^^2^^ = z^^2^^

Subscript ​

Use double commas (,,) to create subscript text.

sevenmark
H,,2,,O

Summary Table ​

StyleSyntaxExample
Bold**text**Bold
Italic*text*Italic
Underline__text__Underlined
Strikethrough~~text~~Strikethrough
Superscript^^text^^x^^2^^
Subscript,,text,,H,,2,,O

Combined Formatting ​

NamuMark Subset Input ​

The NamuMark compatibility parser also accepts the following paired markers:

NamuMark inputExisting AST styleCanonical formatter output
'''text'''Bold**text**
''text''Italic*text*
'''''text'''''Bold with Italic inside***text***

This is subset input syntax. The native SevenMark markers remain ** and *. Both nesting orders work, including mixed native and NamuMark markers. Repeated same-style native/compatibility nesting is not supported. Its NamuMark markers remain literal so formatting cannot change the style.

Paired markers can span source lines, including blank lines and multiline child elements, just like native ** and *. [br] also adds a visible line break. Markers inside code or literal content cannot close an outer style. An opener inside a link, brace block or table cell cannot close outside that element. Code, literal blocks and escaped quotes keep their literal contents. Ordinary apostrophes in words remain plain text. Unpaired markers and unsupported runs, such as four or six quotes, remain text. This subset does not implement NamuMark's full unmatched-marker toggle rules.

sevenmark
'''{{{
    #size="1.38889em"
    || 달콤레나}}}[br]sweet_lena0'''

Native Marker Combinations ​

Multiple formatting markers can be nested to combine styles:

sevenmark
**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:

sevenmark
**Bold with __underline and *italic*__ together**
This text has **bold**, *italic*, __underlined__, ~~strikethrough~~, ^^superscript^^, and ,,subscript,, formatting.

Text Styles Inside Other Elements ​

In Headers ​

sevenmark
# **Bold** Header with *italic*

## ~~Deprecated~~ Section

In Lists ​

sevenmark
{{{#list #type="numeric"
[[**Important** item]]
[[Item with *emphasis* and __underline__]]
[[~~Removed~~ item (kept for reference)]]
}}}

In Tables ​

sevenmark
{{{#table
[[[[**Header 1**]] [[*Header 2*]] [[__Header 3__]]]]
[[[[Normal cell]] [[**Bold cell**]] [[~~Struck cell~~]]]]
}}}

In Styled Elements ​

sevenmark
{{{ #color="red" **Bold red text** with *italic* }}}

In Blockquotes ​

sevenmark
{{{#quote
**Important:** This is a *critical* note with __emphasis__.
}}}

Edge Cases ​

Empty Markers ​

Markers with no content between them are treated as literal text:

sevenmark
****

Adjacent Styles ​

Different styles can appear next to each other without spaces:

sevenmark
**bold***italic*__underline__

Markers Inside Words ​

Style markers work at word boundaries:

sevenmark
un**frigging**believable

Unmatched Markers ​

An opening marker without a closing marker is treated as literal text:

sevenmark
This has an unmatched ** asterisk

Escaping ​

Use backslash (\) to prevent markers from being interpreted as formatting:

sevenmark
\*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.