In the forums, the inability to have postings preserve spacing can be very awkward, for instance when trying to post a table or an example program.
Would it be possible to have a mode which deleted trailing whitespace on each line, but didn't mess with leading or intermediate space? For instance with a [hardspace] command, which could work like:
[hardspace]
.....If............The
.....Dots........Were
.....Spaces.....These
.....Rows........Would
.....Still..........Line
.....Up
[/hardspace]
Originally posted by iamatiger[courier]It can be solved with an alternative typeface. Like courier. Then every character would take up equal space.
In the forums, the inability to have postings preserve spacing can be very awkward, for instance when trying to post a table or an example program.
Would it be possible to have a mode which deleted trailing whitespace on each line, but didn't mess with leading or intermediate space? For instance with a [hardspace] command, which could work like:
[ha ...[text shortened]... .....Spaces.....These
.....Rows........Would
.....Still..........Line
.....Up
[/hardspace]
There is a tag in the html codes (I think, or is it [typeface]?) that looks like this that gives the wanted result.[/courier]
Originally posted by iamatigerThe HTML tag we need here is the <pre>. In the same way that [ b] gives us the <b> tag we should have a [pre] to give us the <pre> tag.
In the forums, the inability to have postings preserve spacing can be very awkward, for instance when trying to post a table or an example program.
Would it be possible to have a mode which deleted trailing whitespace on each line, but didn't mess with leading or intermediate space? For instance with a [hardspace] command, which could work like:
[ha ...[text shortened]... .....Spaces.....These
.....Rows........Would
.....Still..........Line
.....Up
[/hardspace]
The best you can get at the moment is by using the [ quote ] tag - like this -
[ quote]
.....If............The
.....Dots........Were
.....Spaces.....These
.....Rows........Would
.....Still..........Line
.....Up
[/ quote][/b]
All it does is provide some indenting (can be nested) - but it's no good for table formatting.
Originally posted by orangutanThanks Orangutan. [ quote ] sort of works, but inserts an irritating automatic empty line. I didn't know about the html tag <pre> before, but that is indeed what we need, I've recommended your post.
The HTML tag we need here is the <pre>. In the same way that [b][ b] gives us the <b> tag we should have a [pre] to give us the <pre> tag.
The best you can get at the moment is by using the [ quote ] tag - like this -
[ quote]
[quote].....If............The
.....Dots........Were
.....Spaces.....These
.....Rows........Would
.....Still.... ...[text shortened]...
All it does is provide some indenting (can be nested) - but it's no good for table formatting.[/b]
Originally posted by FabianFnasThe problem is that multiple consecutive spaces are turned into 1 space automatically by the conversion into HTML, irrespective of what font they are in.
[courier]It can be solved with an alternative typeface. Like courier. Then every character would take up equal space.
There is a tag in the html codes (I think, or is it [typeface]?) that looks like this that gives the wanted result.[/courier]