Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Preserving Spaces (Read 4748 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Preserving Spaces

Is there any way to preserve multiple spaces or indentation in a posting to this list, other than posting in a code box?  For example:
Code: [Select]
Here's some indented text inside a code box:
left margin
    Four spaces in
    4    sp  in
Here's the same text not inside a code box:
left margin
    Four spaces in
      4  sp  in

Preserving Spaces

Reply #1
No, because that' the purpose of codebox (also, this is a forum, not a list ).

Preserving Spaces

Reply #2
You can use [ indent ] to structure text. It supports nesting, too:

a[blockquote]b1[blockquote]c[/blockquote]b2[/blockquote]aaa!

For everything else (like text tables) better use code and codebox
.

Preserving Spaces

Reply #3
You   can  also
    use        some   other    character
          than  the plain    space,
e.g.  the
              non-breaking space    (Alt+0160)
  or other.

See also http://en.wikipedia.org/wiki/Space_(punctu...Table_of_spaces
Full-quoting makes you scroll past the same junk over and over.

Preserving Spaces

Reply #4
some   other    character          than  the plain    space

Damm, I had only thought of trying   which is escaped by the forum software.

Short ascii-art test:
  ____                                                          ____
 | @ @|    "The chicken is now plantsching with the            |o|o |
X| _|_|X   fish in the soup on the floor because of           X|_|_ |X
 [##V#]    the running gag."                           MIST    |_|__|


Nice 

Preserving Spaces

Reply #5
I forgot [code], didn't think of Courier New, and didn't even know about the other methods. Off to the dunce's corner with me.

Preserving Spaces

Reply #6
You   can  also
    use        some   other    character
          than  the plain    space,
e.g.  the
              non-breaking space    (Alt+0160)
  or other.

See also http://en.wikipedia.org/wiki/Space_(punctu...Table_of_spaces

Very clever! 

How can the substitution be made using a common Linux text editor: vi, emacs, tomboy, etc?