Help: DText
DText is the name for e6AI'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
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
Syntax Result Usage http://example.com http://example.com Standard links will automatically parse. "A link":http://example.com/ A link Link with a 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. post changes #1234 post changes #1234 Links to a posts tag history. topic #1234 topic #1234 Links to a forum topic. forum #1234 forum #1234 (Deprecated)Links to a forum post. comment #1234 comment #1234 Links to a comment on a post. pool #1234 pool #1234 Links to a pool. set #1234 set #1234 Links to a set. takedown #1234 takedown #1234 Links to a filed takedown request. record #4321 record #4321 Links to a feedback record for a user. ticket #1234 ticket #1234 Links to a complaint or username change ticket. Custom Titles
- {{a list of tags|Some Text}} - Some Text
- [[wiki page|Some Text]] - Some Text
- [[#anchors|Anchors work too!]] - Anchors work too!
Post Thumbnails
thumb #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 6Header 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]Pretend this is a really large block of text.
Some Title
This one has a title.
Title
section,expandedmakes this one open by default.
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]
Species Latin name Popular character Rabbit Leporidae Bugs Bunny Cat Kitty Garfield
Other
Escaping 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. [[#custom_titles *]] [[mammal#equine]] mammal#equine Link to anchor on different wiki page. [[#custom_titles *]]