Edit
DText is the name for Danbooru's custom text formatting language. It's a mishmash of several markdown languages including Textile, MediaWiki, and BBCode.
Inline elements
[b] strong text [/b]
Makes text bold: example
[i] emphatized text [/i]
Makes text italicized: example
[s] strikethrough text [/s]
Draws a line through the text: example
[u] underlined text [/u]
Draws a line under the text: example
[tn] translation note [/tn]
Formats text like a translation note: example
Links
https://yukkuri.shii.org
URLs are automatically linked: https://yukkuri.shii.org
<https://yukkuri.shii.org>...
Puts a link between angular brackets (< and >) if there are any punctuation marks around it.
This will avoid including the punctuation in the link: ...https://yukkuri.shii.org...
"link title":https://yukkuri.shii.org
Gives a title to a link: link title
"link title":[https://yukkuri.shii.org]/wiki_pages/983
Puts the link between square brackets ([ and ]) to avoid including other words in it: link title/wiki_pages/983
"link title":/wiki_pages/983
Creates a link relative to the site's current domain.
You should use this form when linking other pages, unless you are using a special form (explained later): link title
"fragment link":#dtext-anchor
Creates a link to an element in the current page: this link will jump to a header below
Special internal links
Wiki links
[[wasa reimu]]
Links to a wiki page. Spaces can be used instead of underscores: wasa reimu
[[ marisa ]] aaaa~
Leading and/or trailing letters will be included in the link: marisaaaa~
[[ reimu | single mother ]]
Links to a wiki page using a custom title: single mother
[[ alice (pc-98) |]]
Links to a wiki page without the full qualifier: alice
wiki #983
Links to the specified wiki page: wiki #983
User links
@EasyV
Links to a user's profile page.
When they are mentioned this way, users will receive a notification: @EasyV
user #3485
Links to the specified user's profile page: user #3485
Post links
{{ reimu marisa }}
Links to a search using the specified tags: reimu marisa
post #1
Links to the specified post: post #1
ゆっくりしていってね
comment #1
Links to the specified comment: comment #1
note #1
Links to the specified note: note #1
Forum links
forum #1
Links to the specified forum post: forum #2
topic #1
Links to the specified forum topic: topic #1
topic #10405/p16
Links to the specified forum topic at the specified page: topic #10405/p16
Collection links
pool #1
Links to the specified pool: pool #1
Block elements
Paragraphs
Paragraphs are separated by blank lines.
This is a single paragraph spanning multiple lines.
Now the paragraphs are two.
Third paragraph to explain that headers should be on their own paragraph to work.
Headers
Header
h1. Header
Very large header.
Header
h2. Header
Large header.
Header
h3. Header
Slightly large header.
Header
h4. Header
Sort of large header. This is used for the headings in this page.
Header
h5. Header
Not very large header. This is used for the sub-headings in this page.
Header
h6. Header
Small header.
Anchors in headers
This header has an anchor
h6#example_anchor. This header has an anchor
Can be used to create fragment links (see above.)
Quotes
[quote]
ゆっくりしていってね
[/quote]
Will enclose the text in a box:
ゆっくりしていってね
Special formatting
[spoiler]
ゆっくりしていってね
[/spoiler]
Will hide the text until hovered on:
ゆっくりしていってね
[code]
ゆっくりしていってね
[/code]
Will enclose the text in a box and use a typewriter font:
ゆっくりしていってね
[expand]
ゆっくりしていってね
[/expand]
Will hide the text until the "Show" button is pressed:
ゆっくりしていってね
[expand=Take It Easy]
ゆっくりしていってね
[/expand]
Like above, but also add a custom title to the box:
ゆっくりしていってね
Tables
[table]
[thead]
[tr]
[th] Reimu [/th]
[th] Cirno [/th]
[th] Alice [/th]
[/tr]
[/thead]
[tbody]
[tr]
[td] Easy [/td]
[td] Strongest [/td]
[td] City-sect [/td]
[/tr]
[/tbody]
[/table]
Reimu | Cirno | Alice |
---|---|---|
Easy | Strongest | City-sect |
Lists
Each list item is on a line on its own, which starts with the * character.
Sublists are made by using more than one * in a row.
* Reimu
** Deibu
** Wasa Reimu
* Marisa
** Aquatic Marisa
*** Shell Marisa
*** Clam Marisa
- Reimu
- Deibu
- Wasa Reimu
- Marisa
- Aquatic Marisa
- Shell Marisa
- Clam Marisa
Note: Lists must end with a blank line or the text below them will be considered part of the list
Other
Escaping tags
To use tags without formatting the text, use the [nodtext] tag:
[nodtext] [b], [i] and [s] [/nodtext]
[b], [i] and [s]
Nobody here but us chickens!