Skip to content

Add quote, quoteSmart, etc formatting options #12

Closed
@wooorm

Description

@wooorm

Initial checklist

Problem

For MDX JSX and HTML syntax, the packages have formatting options.
For directive syntax, there are stylistic preferences too.

Current solutions

none

Proposed solutions

For MDX JSX (https://github.com/syntax-tree/mdast-util-mdx-jsx) and HTML (https://github.com/syntax-tree/hast-util-to-html) there are quote and quoteSmart options. In the HTML case also collapseEmptyAttributes, preferUnquoted.

I guess a preferShortcut (for id, class -> #, .) can also be added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions