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
Add an option to preserve the case of HTML tags. This is similar to issue #18, but for HTML tags in general.
Currently, this
{ "type": "raw", "value": "<TabGroup><Tab lang='js' title='JavaScript' /></TabGroup>", }
will yield
{ "type": "element", "tagName": "tabgroup", // ... }
TabGroup and Tab should be cased. It should produce this output instead
TabGroup
Tab
{ "type": "element", "tagName": "TabGroup", // ... }
The text was updated successfully, but these errors were encountered:
Welcome @quadratz! 👋 HTML is case insensitive, there are no plans to add non-html features to the HTML parser. It looks like you may be working with XML or JSX. If you are working with XML consider using https://github.com/syntax-tree/xast-util-from-xml If you are working with JSX+Markdown consider using https://mdxjs.com/
Sorry, something went wrong.
I think https://mdxjs.com/ is more suitable for my case. Thank you for the help.
No branches or pull requests
Initial checklist
Problem
Add an option to preserve the case of HTML tags. This is similar to issue #18, but for HTML tags in general.
Currently, this
will yield
Solution
TabGroup
andTab
should be cased.It should produce this output instead
The text was updated successfully, but these errors were encountered: