Extensions

March 4, 2026 ยท View on GitHub

This section describes the different extensions supported:

Emoji

Emoji shortcodes and smileys can be converted to their respective unicode characters:

This is a test with a :) and a :angry: smiley
.
<p>This is a test with a ๐Ÿ˜ƒ and a ๐Ÿ˜  smiley</p>

An emoji must not be preceded by a letter or digit:

These are not:) an emoji with a:) x:angry:x
.
<p>These are not:) an emoji with a:) x:angry:x</p>

Emojis can be followed by close punctuation (or any other characters):

We all need :), it makes us :muscle:. (and :ok_hand:).
.
<p>We all need ๐Ÿ˜ƒ, it makes us ๐Ÿ’ช. (and ๐Ÿ‘Œ).</p>

Sentences can end with emojis:

This is a sentence :ok_hand:
and keeps going to the next line :)
.
<p>This is a sentence ๐Ÿ‘Œ
and keeps going to the next line ๐Ÿ˜ƒ</p>

Emojis are rendered inside pipe table cells with surrounding spaces:

| header |
|--------|
| :x: |
.
<table>
<thead>
<tr>
<th>header</th>
</tr>
</thead>
<tbody>
<tr>
<td>โŒ</td>
</tr>
</tbody>
</table>

Emojis are rendered inside pipe table cells without surrounding spaces:

| header |
|--------|
|:x:|
.
<table>
<thead>
<tr>
<th>header</th>
</tr>
</thead>
<tbody>
<tr>
<td>โŒ</td>
</tr>
</tbody>
</table>