Skip to content

Option to retain tabs in HTML encoder #170

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

Closed
JasonBarnabe opened this issue May 17, 2014 · 0 comments
Closed

Option to retain tabs in HTML encoder #170

JasonBarnabe opened this issue May 17, 2014 · 0 comments

Comments

@JasonBarnabe
Copy link

CodeRay converts tabs into spaces; I would prefer it not do that. I would like to keep things in alignment and have more accurate copy-pasting. I can handle the size of the tabs with the tab-size CSS property.

I've patched it like so greasyfork-org/greasyfork@e483752 but I think it would be good to have this as a built-in option. Maybe handle it by passing -1 to tab_width?

I've read #61, which contains this delicious quote:

I don't want to have this discussion. If anybody insists on using tabs, please fork CodeRay.

Not sure if this represents a general bias against tabs in general or just that specific suggestion...

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

No branches or pull requests

1 participant