Skip to content

Remove use of detab or make tabSize configurable #445

@so1ve

Description

@so1ve

Currently mdc is using detab to convert tabs into spaces. https://github.com/nuxt-content/mdc/blob/main/src/runtime/parser/handlers/code.ts#L10

And there's no option to configure tab size or disable this behavior, resulting in unwanted indentation conversions.

Please either remove this process or make it configurable.

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