Skip to main contentModule markdown
Source - doc ๐
- inline ๐
- list ๐
- table ๐
- Doc
- Builder for multi-line markdown documents.
- List
- Builder for rendering a formatted list in markdown.
- Table
- Markdown table builder with multiple render modes.
- ListStyle
- Bullet style used when rendering a
List.
- anchor_link
- Render an in-page anchor link (
[text](#anchor)). - arrow
- Render a plain arrow between two values (
from โ to). - arrow_code
- Render an arrow between two code-wrapped values (
`from` โ `to`). - bold
- Wrap text in bold markers (
**text**). - bold_italic
- Wrap text in bold and italic markers (
***text***). - channel
- Render a Discord channel mention (
<#id>). - code
- Wrap text in inline-code backticks (
`text`). - code_block
- Render a fenced code block with optional language tag.
- commit
- Format a git commit hash as a short linked reference.
- diff_stats
- Render addition/deletion counts as code-wrapped labels:
`+n` `-m`. - escape_table_cell
- Escape text for a markdown table cell (
| becomes \|). - h1
- Render an H1 heading (
# text). - h2
- Render an H2 heading (
## text). - h3
- Render an H3 heading (
### text). - italic
- Wrap text in italic markers (
*text*). - kv
- Render a bold key with a plain value:
**key:** value. - kv_code
- Render a bold key with a code-wrapped value:
**key:** `value`. - link
- Render a markdown link (
[text](url)). - link_titled
- Render a markdown link with a hover title (
[text](url "title")). - quote
- Prefix every line of
text with > to build a multi-line blockquote. - quote_block
- Prefix text with
>>> to start a Discord block quote. - relative_time
- Render a relative Discord timestamp (
<t:unix:R>). - render_table_row
- Render a single markdown table row with pipe-escaped cells.
- role
- Render a Discord role mention (
<@&id>). - slash_command
- Render a Discord slash-command mention (
</name:id>). - spoiler
- Wrap text in Discord spoiler markers (
||text||). - strike
- Wrap text in strikethrough markers (
~~text~~). - subtext
- Render Discord-style subtext (
-# text). - timestamp
- Render a Discord timestamp (
<t:unix>). - timestamp_styled
- Render a styled Discord timestamp (style: t/T time, d/D date, f/F date+time, R relative).
- underline
- Wrap text in underline markers (
__text__). - underline_bold
- Wrap text in underline + bold markers (
__**text**__). - underline_bold_italic
- Wrap text in underline + bold + italic markers (
__***text***__). - underline_italic
- Wrap text in underline + italic markers (
__*text*__). - user
- Render a Discord user mention (
<@id>).