• Login
  • Posts
  • Users
  • Comments
  • Notes
  • Artists
  • Tags
  • Wiki
  • Forum
  • More »
  • Search
  • Changes
  • Help
  • |
  • Posts (0)
  • History
  • Blacklisted (help)

      Disable all Re-enable all

      Recent Changes (all)

      • help:dtext
      • help:post relationships
      • howto:tag
      • triumvirate
      • rules
      • 2025 happenings
      • planned feature list
      • mysteries of ifunny
      • help:pools
      • about:mod queue
      • important notice
      • about:upload limits
      • help:home

      Options

      • Wiki History
      • Discussions
      • What Links Here

      help:dtext (locked)

      Table of Contents
      • Basic formatting
      • Links
      • Links Using ID
      • Images
      • Paragraphs
      • Horizontal Rules
      • Headings
      • Quotes
      • Lists
      • Expands
      • Tables
      • HTML

      DText is the name of Danbooru's — and by extension, SWAbooru's — custom text formatting language. It's a mishmash of several markup languages, including BBCode, MediaWiki, Markdown, and HTML.

      Overtime, the functions of DText will expand as Chef further develops the system behind it, and will reflect in updates to this help page.

      Basic formatting

      What you typeWhat you getNotes
      [b]bold[/b]bold
      [i]italics[/i]italics
      [u]underline[/u]underline
      [s]strikethrough[/s]strikethrough
      [tn]note[/tn]note
      [spoilers]ssh![/spoilers]ssh!
      [nodtext][u]nodtext[/u][/nodtext][u]nodtext[/u]Ignore DText tags
      [code][u]code[/u][/code][u]code[/u]Ignore DText and format as code
      line[br]breakline
      break
      Insert a line break
      (Allows line breaks to be specified in line)

      Links

      What you typeWhat you getNotes
      https://swaggerswithattitude.comhttps://swaggerswithattitude.com Basic link
      <https://swaggerswithattitude.com>https://swaggerswithattitude.comBasic link with delimiters
      "SWAbooru":[https://swaggerswithattitude.com]SWAbooruLink with custom text
      [SWAbooru](https://swaggerswithattitude.com)SWAbooruMarkdown style link
      [https://swaggerswithattitude.com](SWAbooru)SWAbooruReverse Markdown style link
      <a href="https://swaggerswithattitude.com">SWAbooru</a>SWAbooruHTML style link
      [url]https://swaggerswithattitude.com[/url]https://swaggerswithattitude.comBBCode style link
      [url=https://swaggerswithattitude.com]SWAbooru[/url]SWAbooruBBCode style link with custom text
      "ToS":[/terms_of_service]ToSLink to a SWAbooru page
      Note: Substitute [ and ] in links with %5B and %5D to avoid format breaking
      "Here":[#dtext-basic-formatting]HereLink to a specific section of the current page
      [[Triumvirate]]TriumvirateLink to a wiki
      [[Triumvirate#Tl;dr]]TriumvirateLink to a specific section of a wiki article
      Note: The first letter of the anchor must be capitalized when using this link syntax
      Note: When the link is parsed, the anchor will be converted to lowercase
      Note: When the link is parsed, "dtext-" will be prepended to the anchor
      [[Mysteries of Ifunny|iMysteries]]iMysteriesLink to a wiki with custom text
      [[Family_Guy|]]Family_GuyLink to a wiki without the qualifier
      [[cat]]s, 19[[60s]]cats, 1960sAdjacent text becomes part of the link
      {{curious_george video}}curious_george videoLink to a tag search
      {{curious_george video|Freaking Epic}}Freaking EpicLink to a tag search with custom text
      @PETRIXXX@PETRIXXXLink to a user

      Links using ID

      What you typeWhat you getNotes
      post #2post #2Link to post
      asset #1asset #1Link to media asset
      topic #24topic #24Link to forum topic
      topic #37/p1topic #37/p1Link to forum topic (page 1)
      forum #21forum #21Link to forum post
      comment #12comment #12Link to comment
      pool #1pool #1Link to pool
      favgroup #1favgroup #1Link to favorite group
      wiki shitwiki shitLink to wiki
      user #79user #79Link to user
      ban #1ban #1Link to ban
      feedback #3feedback #3Link to user feedback
      appeal #1appeal #1Link to post appeal
      flag #1flag #1Link to post flag
      note #1note #1Link to translation note
      BUR #1BUR #1Link to bulk update request
      alias #1alias #1Link to tag alias
      implication #1implication #1Link to tag implication
      mod action #5mod action #5Link to mod action
      artist #2artist #2Link to artist
      issue #1issue #1Link to Github issue
      pixiv #52004043pixiv #52004043Link to Pixiv post
      pawoo #113820226908084083pawoo #113820226908084083Link to Pawoo post
      twitter #91748twitter #91748Link to Twitter post
      deviantart #1095361082deviantart #1095361082Link to DeviantArt post
      artstation #1450982567artstation #1450982567Link to ArtStation post

      Images

      What you typeNotes
      !post #247Large image of post
      !post #888: CaptionLarge image of post with caption
      !asset #12Large image of asset
      !asset #199: CaptionLarge image of asset with caption
      * !post #477Thumbnail image of post
      * !post #163: CaptionThumbnail image of post with caption
      * !asset #1Thumbnail image of asset
      * !asset #3: CaptionThumbnail image of asset with caption

      Paragraphs

      Paragraphs are separated by blank lines.

      A single line break inside a paragraph
      creates a new line
      instead of a new paragraph.

      Horizontal rules

      Use [hr] on a line by itself to create a horizontal rule, like this:


      Headings

      Use h4. text, h5. text, or h6. text to create a heading:

      h4. Heading

      h5. Heading
      h6. Heading

      Quotes

      [quote]
      Fatpat said:
      
      Yup.
      [/quote]

      Becomes:

      Fatpat said:

      Yup.

      Quotes can be nested:

      [quote]
      [quote]
      Pope Francis: Oh boy, time to finally play that Undertale game that fine young man gave me.
      [/quote]
      
      [b]Pope Francis has died on Easter Monday aged 88[/b]
      [/quote]

      Becomes:

      Pope Francis: Oh boy, time to finally play that Undertale game that fine young man gave me.

      Pope Francis has died on Easter Monday aged 88

      Lists

      Start a line with an '*' to make a list:

      * Item 1
      * Item 2
      ** Item 2.a
      ** Item 2.b
      * Item 3

      Becomes:

      • Item 1
      • Item 2
        • Item 2.a
        • Item 2.b
      • Item 3

      Expands

      Use [expand] to create collapsible blocks of text:

      [expand]
      Text that is hidden by default. Click the "Show" button to expand the block and make the text visible.
      [/expand]

      Becomes:

      Show

      This text is hidden by default. Clicking the "Show" button will expand the block.

      Use [expand=Custom title] to add a custom title:

      [expand=Custom title]
      This text is hidden by default. Clicking the "Show" button will expand the block.
      [/expand]

      Becomes:

      Custom title

      This text is hidden by default. Clicking the "Show" button will expand the block.

      Tables

      Use HTML table tags to make a table.

      Table Tags
      DText TagsValid Optional Attributes
      [table]
      [thead]align
      [tbody]align
      [tr]align
      [col]align, span
      [colgroup]
      [th]align, colspan, rowspan
      [td]align, colspan, rowspan

      To use the optional table element attributes use this syntax: [<element‑name> <attribute>="<value>"]
      Note: You can specify more than one valid attribute on an element.

      Table Element Attributes
      AttributesAttributes Values
      alignleft, right, center, justify
      spanpositive integer
      colspanpositive integer
      rowspanpositive integer

      Example:

      [table]
      [thead]
      [tr]
      [th colspan="3" align="center"]Table[/th]
      [/tr]
      [tr align="center"]
      [th]A[/th]
      [th]B[/th]
      [th]C[/th]
      [/tr]
      [/thead]
      [tbody]
      [tr]
      [td align="left"]L[/td]
      [td align="center"]C[/td]
      [td align="right"]R[/td]
      [/tr]
      [tr]
      [td]---1---[/td]
      [td]---2---[/td]
      [td]---3---[/td]
      [/tr]
      [/tbody]
      [/table]

      Becomes:

      Table
      ABC
      LCR
      ---1------2------3---

      HTML style tags

      DText supports the following HTML style tags:

      HTML StyleDText
      <b>, or <strong>[b]
      <i>, or <em>[i]
      <u>[u]
      <s>[s]
      <tn>[tn]
      <spoiler>[spoiler]
      <nodtext>[nodtext]
      <code>[code]
      <br>[br]
      <a href="http://example.com">click here</a>"click here":[http://example.com]
      <hr>[hr]
      <quote>[quote]
      <expand>[expand]
      <table>[table]
      <thead>[thead]
      <tbody>[tbody]
      <tr>[tr]
      <col>[col]
      <colgroup>[colgroup]
      <th>[th]
      <td>[td]
      Terms / Privacy / Contact /