Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] code coloring vs alignment #137

Open
FabriceNeyret opened this issue Dec 24, 2020 · 3 comments
Open

[BUG] code coloring vs alignment #137

FabriceNeyret opened this issue Dec 24, 2020 · 3 comments
Labels

Comments

@FabriceNeyret
Copy link

FabriceNeyret commented Dec 24, 2020

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:
image

@FabriceNeyret
Copy link
Author

maybe it's just a variant of the classical problem with tab (and possibly, Shane- tabs). No problem with my tab-free quotes, apparently.

@EthanLowenthal
Copy link

EthanLowenthal commented Dec 28, 2020

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.

@EthanLowenthal
Copy link

EthanLowenthal commented Dec 28, 2020

also what do you think about a transparent background? I think it looks better but I am not sure.
Screen Shot 2020-12-27 at 10 30 22 PM
Screen Shot 2020-12-27 at 10 40 15 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants