We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
quote
quoteSmart
For MDX JSX and HTML syntax, the packages have formatting options. For directive syntax, there are stylistic preferences too.
none
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.
collapseEmptyAttributes
preferUnquoted
I guess a preferShortcut (for id, class -> #, .) can also be added.
preferShortcut
id
class
#
.
The text was updated successfully, but these errors were encountered:
Add quote option
77a185b
Related-to: GH-12.
Add quoteSmart option
7c8d606
Add preferUnquoted option
6331d95
Add collapseEmptyAttributes option
0c253fe
f8c7348
No branches or pull requests
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
andquoteSmart
options. In the HTML case alsocollapseEmptyAttributes
,preferUnquoted
.I guess a
preferShortcut
(forid
,class
->#
,.
) can also be added.The text was updated successfully, but these errors were encountered: