ascii art bbcode

ascii_sample.png
Description
Allows ascii art to be displayed properly.

Any leading spaces on the first line will be deleted. If you want the first line to have leading spaces, you will need to insert a dummy character on the first line and then start your ASCII art on the next line.

Example:The 1st dot (.) here, below [ascii] is the leading character,hope that makes sense :) Of course the ascii picture will not look right in example with phpbb3 until you use the bbcode.
I have included an image of what it will end up looking like.

[ascii]
.

'. ##,
`## `#',.`````..,:;;:.'##',. ###;
:## ;## ;;;;;;#######+ +:::;::,,,..,..... ```````` :
######; .+ ;+##+:+ ' +
+###,.### # + QMax +
.###`##+# # + ````````..+
`#.##### +###########`..........,,,,,,,,,,,:::;;:'
:+ ##### +##+#######+#++'++'''''''';;:;:,::::::,:,:
'+`##### :+####################################+###
;+',#### `..' ##++''+''';;;;:::::,,,.+##''+,
`#:, ## ' :
'+. ` ++ ' ``
##. '## ; .
.##. ##....``.;+###' :
`+##++#. `:::::,,,....`` ;
:######### `.'
###########+ `:+#####+'
,############+ `'#+##+###;:
;############, .##+++####
.#############` ### ##'
##############`,+##: #:
'############+####'#, #,
#############` #;#+ '.
;###########+ ,#+# +`
############ # #. .#
########### ;#;,,:'##
,########### ;###+;`
###########,
###########;
,###########+
'############
+############
#############`
#############;
.#############+
################.
[/ascii]

Public performance attribution has been waived.

Settings

BBCode Usage: Select all
[ascii]{TEXT}[/ascii]

HTML Replacement: Select all
<pre><div class="code_body" style="border: medium none ; background: transparent none repeat scroll 0% 0%; font-size: 9pt; font-family: terminal,'courier new'; line-height: 95%; letter-spacing: 0px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">{TEXT}</div></pre>

Help Line: Select all
Ascii viewer: [ascii]Text here[/ascii]
  • Revisions
    Version
    phpBB Version(s)
  • anon
    v1
    3.0.x
    Validation time: Feb 19, 2013 5:58 pm

    BBCode Usage: Select all
    [ascii]{TEXT}[/ascii]

    HTML Replacement: Select all
    <pre><div class="code_body" style="border: medium none ; background: transparent none repeat scroll 0% 0%; font-size: 9pt; font-family: terminal,'courier new'; line-height: 95%; letter-spacing: 0px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">{TEXT}</div></pre>

    Help Line: Select all
    Ascii viewer: [ascii]Text here[/ascii]
cron