Help: DText

Note: The formatting is a little messed up right now due to some pending updates. It will be fixed soon.

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

Syntax Result Usage
[b]Bold[/b] Bold
[i]Italics[/i] Italics
[u]Underline[/u] Underline
[o]Overline[/o] Overline
[s]Strikeout[/s] Strikeout
[sup]Superscript[/sup] Superscript
[sub]Subscript[/sub] Subscript
@username @username If 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! Color names
[color=artist]artist[/color] artist
[color=character]character[/color] character
[color=copyright]copyright[/color] copyright
[color=species]species[/color] species
Links
Syntax Result Usage
http://example.com http://example.com Standard links will automatically parse
"A link":http://example.com/ A link Link with custom title
"A link":/user/edit A link Relative link (within site).
[[simple background]] simple background Link to wiki page. *
[[#quotes]] quotes Link to anchor on current page (wiki or otherwise). *
{{mammal -cat}} mammal -cat Link to tag search. *
post #1234 post #1234 Links to a post
forum #1234 forum #1234 Links to a forum post
comment #1234 comment #1234
blip #1234 blip #1234
pool #1234 pool #1234
set #1234 set #1234
takedown #1234 takedown #1234
record #1234 record #1234
ticket #1234 ticket #1234
category #1 category #1 Rarely used

Custom Titles

Post Thumbnails

thumb #12345

alley bicycle building by-nc-nd creative_commons day detailed_background female hair house light memory outside scenery shadow signature sky solo standing street sunlight tree tysontan wood young

Rating: Safe
Score: 49
User: Anomynous
Date: October 07, 2007

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]std::cout << "Hello, world!\n";[/code]
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 collapsable boxes used for condensing large amounts of text. Like quote tags they can accept any DText that

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]
▼ Click to collapse

Pretend this is a really large block of text.

▼ Some Title

This one has a title.

▼ Title

section,expanded makes this one open by default.

Tables

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

[table]
header | header | header
 row   |   row  | row
 row   |   row  | row
[/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]
Species|Latin name|Popular character
Rabbit |Leporidae |Bugs Bunny
Cat    |Kitty     |Garfield
[/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.

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. *
[[mammal#equine]] mammal#equine Link to anchor on different wiki page. *