[Forum Suggestion] BBCode tag: preformatted text

Discussion in 'The Suggestion Box' started by 1998golfer, Oct 25, 2015.

?

What do you think?

-1 1 vote(s) 100.0%
+1 0 vote(s) 0.0%
  1. Hello,
    I was looking around here and realized that the [pre] tags do not exist on this forum, I believe they can easily be added with a custom bbcode tag via xenforo admin panel.
    I think this is a pretty easy one to add, just stick the text between the [pre] and [/pre] tags into <pre> and </pre> tags in HTML.

    For anyone who doesn't know, this tag would take away all additional formatting from the text, leaving it however it was pasted there.

    The [ code ] tag does this with the text you put inside of it, such as keeping indents and spaces as they were pasted.

    Thanks for looking,
    -Golfer
  2. Seems similar to [plain][/plain]... are they the same thing?
  3. [plain][/plain] doesn't leave spacing :/