ShaderToy-Chrome-Plugin
ShaderToy-Chrome-Plugin copied to clipboard
[BUG] code coloring vs alignment
Code coloring in forum section is cool, but preserving alignement is crucial ;-) ( not sure whether the problem is font change, not-proportional, or space/tab size )
Comparative screen grab:
maybe it's just a variant of the classical problem with tab (and possibly, Shane- tabs). No problem with my tab-free quotes, apparently.
The tab size is set to 4 -- the same size in the shadertoy editor. It is set to 8 by default in a <pre> block I think. Both use a monospace font so all the characters are the same size.
also what do you think about a transparent background? I think it looks better but I am not sure.