Read the rules before proceeding!

Help: DText

DText is the name for e621's custom text formatting language. It's a mishmash of several markdown languages including Textile, MediaWiki, BBCode, and Snudown.

Basic | Colors | Links | Block Formatting | Escaping DText

Basic Formatting

SyntaxResultUsage
[b]Bold[/b]Bold
[i]Italics[/i]Italics
[u]Underline[/u]Underline
[o]Overline[/o][o]Overline[/o]
[s]Strikeout[/s]Strikeout
[sup]Superscript[/sup]Superscript
[sub]Subscript[/sub]Subscript
@username@usernameIf used in a blip, it will show up on that user's blip page
[spoiler]I'm a spoiler![/spoiler]I'm a spoiler!
`inline code`inline code
[color=red]I'm red![/color]I'm red!See below for more info on using colors

Colors

Only usable by Privileged+ (except for set descriptions and wiki pages).

Syntax Result Usage
[color=#ff0000]I'm red![/color] I'm red! 3-digit Hex codes work too
[color=pink]I'm pink![/color] I'm pink! See also HTML color names on Wikipedia.

Links
SyntaxResultUsage
http://example.comhttp://example.com Standard links will automatically parse.
"A link":http://example.com/A link Link with a custom title.
"A link":/user/editA link Relative link (within site).
[[simple background]]simple backgroundLink to wiki page. *
[[#quotes]]#quotesLink to anchor on current page (wiki or otherwise). *
{{mammal -cat}}mammal -catLink to tag search. *
post #1234post #1234Links to a post.
topic #1234topic #1234Links to a forum topic.
forum #1234forum #1234(Deprecated)Links to a forum post.
comment #1234comment #1234Links to a comment on a post.
blip #1234blip #1234Links to a blip.
pool #1234pool #1234Links to a pool.
set #1234set #1234Links to a set.
takedown #1234takedown #1234Links to a filed takedown request.
record #4321record #4321Links to a feedback record for a user.
ticket #1234ticket #1234Links to a complaint or username change ticket.
category #1category #1Links to a category; rarely used.

Custom Titles

Post Thumbnails
thumb #12345

post #12345

Block Formatting

These tags create block-level content. That is, they are not inline like the ones under Basic formatting.

Quotes
[quote]Please quote me![/quote]
I'm quoting you!

Please quote me!

I'm quoting you!

Code

Code blocks render characters within blocks of monospaced text that are placed between [code] and [/code]. Thus, [code]std::cout << "Hello, world!\n";[/code] results in:

std::cout << "Hello, world!\n";

Note: Because of how block-level tags are parsed, newlines may not show up correctly if there is DText inside them. For ways to get around this, see Escaping DText.

Headers
h1.Header 1
h2.Header 2
h3.Header 3
h4.Header 4
h5.Header 5
h6.Header 6

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6

Lists

Create lists by prepending each item with a *. Use multiple *s for nested lists

* Item 1
* Item 2
** Item 2A
** Item 2B
* Item 3
  • Item 1
  • Item 2
    • Item 2A
    • Item 2B
  • Item 3

Sections

Sections are collapsible boxes used for condensing large amounts of text. Like quote tags they can accept any DText (except headers).

Note that page anchors won't work inside collapsed sections.

[section]Pretend this is a really large block of text.[/section]

[section=Some Title]This one has a title.[/section]

[section,expanded=Title]This is expanded by default.[/section]

Tables

Tables are kind of a WIP but the syntax is basically text|text|text

[table][thead][tr][th]header [/th][th] header [/th][th] header
[/th][/tr][/thead][tbody][tr][td] row   [/td][td]   row  [/td][td] row
[/td][/tr][tr][td] row   [/td][td]   row  [/td][td] row[/td][/tr][/tbody][/table]

You can add as many columns or rows as you want, but for the best results each line should have the same number of | characters.

To display a | within a table, use &pipe;

  • Note: Backslash escaping doesn't currently work well within tables. Try to use inline code instead.
[table][thead][tr][th]Species[/th][th]Latin name[/th][th]Popular character
[/th][/tr][/thead][tbody][tr][td]Rabbit [/td][td]Leporidae [/td][td]Bugs Bunny
[/td][/tr][tr][td]Cat    [/td][td]Kitty     [/td][td]Garfield[/td][/tr][/tbody][/table]
SpeciesLatin namePopular character
Rabbit Leporidae Bugs Bunny
Cat Kitty Garfield

Other

Escaping DText
  • Prepending a \ to one of the characters in the formatting (e.g., \{{cat}}) produces \cat
  • Use backticks or #code tags to escape DText

Page Anchors

Anchors are markers that tell your browser to jump to a specific place on the page.

Note that anchors can be linked from anywhere, but placement of anchors themselves on a page is limited to the forum (priv+) and wiki. Anchor names must be spelled using only lowercase letters, numbers, and underscores.

Syntax Result Usage
My anchor: [#some_anchor] My anchor: This is the target. It will be hidden on the page wherever you put it.
[[#anchors]] #anchors Link to anchor on current page. Will hide # character automatically. [[td]*]]
[[mammal#equine]] mammal#equine Link to anchor on different wiki page. [[td]*]]