fixed-width font how?

Hi,
is it possible to put a pre-formatted text (ie. a table in simple text format) into a special block
of the posting so that the formatting stays intact?
I tried the CODE block but the formatting gets lost :-(
Any other method or trick?
 
It seems to work:

Code:
  2-space-indent
    4-space-indent
        8-space-indent

table1 (using spaces)
------------------------
th1     th2     th3
------------------------
r1c1    r1c2    r1c3
------------------------
r2c1    r2c1    r2c3

Code:
table2 (using tabs)
-------------------------
c0    c1    c2
-------------------------

Code:
  .------------------------------.
  |            Basket            |
  +----+-----------------+-------+
  | Id | Name            | Price |
  +----+-----------------+-------+
  |  1 | Dummy product 1 |  24.4 |
  |  2 | Dummy product 2 |  21.2 |
  |  3 | Dummy product 3 |  12.3 |
  +----+-----------------+-------+
  |    | Total           |  57.9 |
  '----+-----------------+-------'

Code:
........___________________
....../ `-___________--_____|] - - - - - - - - ░ ▒▓▓█D
...../==o;;;;;;;;______.:/
.....), -.(_(__) /
....// (..) ), --"
...//___//

Code:
XXXXXXXXXXXXXXXXXXFEDERAL RESERVE NOTEXXXXXXXXXXXXXXXXXXX
XXX  XX       THE UNITED STATES OF AMERICA        XXX  XX
XXXX XX  -------       ------------               XXXX XX
XXXX XX              /   jJ===-\    \      C7675  XXXX XX
XXXXXX     OOO      /   jJ - -  L    \      ---    XXXXXX
XXXXX     OOOOO     |   JJ  |   X    |       __     XXXXX
XXX    3   OOO      |   JJ ---  X    |      OOOO    3 XXX
XXX                 |   J|\    /|    |     OOOOOO     XXX
XXX     C36799887   |   /  |  |  \   |      OOOO      XXX
XXX                 |  |          |  |       --       XXX
XXX      -------    \ /            \ /                XXX
X  XX                \ ____________ /               X  XX
XX XXX 3_________        --------  ___   _______ 3 XXX XX
XX XXX            ___   ONE DOLLAR  i              XXX XX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Code:
+---------------------------+
| ///////////////////////// |
+---------------------------+
| [              1,264.45 ] |
+---------------------------+
|                           |
|                           |
| [sto] [rcl] [<--] [AC/ON] |
|                           |
| [ ( ] [ ) ] [sqr] [  /  ] |
|                           |
| [ 7 ] [ 8 ] [ 9 ] [  *  ] |
|                           |
| [ 4 ] [ 5 ] [ 6 ] [  -  ] |
|                           |
| [ 1 ] [ 2 ] [ 3 ] [  +  ] |
|                           |
| [ 0 ] [ . ] [+/-] [  =  ] |
|                           |
+---------------------------+

Code:
             .-""-._
            / ___/  \         _&_
      _.--""|/    `\|        // \\
    .'      ( ^/ ^  )'.     / / \ \
   /         | _   |   \   // / \ \\
   |        _\____/    |  /_/_/_\_\_\
   |      .' \____/-._ |     .-"-.
   |     /            `;    /#    \
   |    /  /     _|_.---\   |     |
   |.-.;   :--.-(_/.____/.-""\___/"-.
   /    \ / ~~/   /\   \{"=.______.="}
  /--. ; /___/_~~/ ; .--\"=...__...="}
/    \-/  `\______|/    \-.______..-;
|    /`|   |       \    |   ||||   ||
|   /_ |   |_______/    |   ||||   ||
|   \_/|   |-------'    |--'||'--._||
|      |   |            |   ||     |>
|______|   |____________|._ || _..-;|
|      [___]            |  `||()   ||
|______ |\/|____________|jgs||     ()
  (__)   \__/        (__)    ()
 
Last edited:
cool! that's exactly what I need.
Funny, last time I tried the CODE block it didn't work, as said. Will try it again.
Thanks for the wonderful examples.
 
testing myself...
Code:
table1 (using spaces)
------------------------
th1 th2 th3
------------------------
r1c1 r1c2 r1c3
------------------------
r2c1 r2c1 r2c3


Hmm. why is it not working when I do it???
 
Code:
table1 (using spaces)
------------------------
th1     th2     th3
------------------------
r1c1    r1c2    r1c3
------------------------
r2c1    r2c1    r2c3

Ok, now it works. One has to do it via the 6th icon (table/code) from right on top of the editor...
When editing a posting it is the 5th icon from right.
 
Last edited:
Back
Top