8000 Option to retain tabs in HTML encoder · Issue #170 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content
Option to retain tabs in HTML encoder #170
Closed
@JasonBarnabe

Description

@JasonBarnabe

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0