Forum stylesheet should use fixed-width font for code tags
Posted: Thu Nov 20, 2014 1:08 am
I don't know if there's a better place to ask this, but consider the following image:
This is how it looks when pasted into the forums:
The same thing happens if you try to paste a table with rows and columns. Rather than being in a straight vertical line, the column boundaries wander left and right according to the widths of the characters they contain.
It would be way easier to interpret formatted stuff like the above if the code tag used a fixed-width font. It would also make comments that aren't on their own lines look a lot prettier because they would always line up.
While I'm at it, if you can install some plugin that would do syntax highlighting, like this one, it would make the code tag even more useful.
Thanks!
This is how it looks when pasted into the forums:
Code: Select all
[HC] Energy at DR=131.000 with trim: 0.683
[PD] [Z]
[PD] 0.287
[PD] 0.276 1.086 0.276
[PD] 1.083 1.083
[PD] 0.000
[PD] 1.086 1.086
[PD] [X] 0.287 1.083 0.287 [Y]
[PD] 0.276
It would be way easier to interpret formatted stuff like the above if the code tag used a fixed-width font. It would also make comments that aren't on their own lines look a lot prettier because they would always line up.
While I'm at it, if you can install some plugin that would do syntax highlighting, like this one, it would make the code tag even more useful.
Thanks!