Closed quadratz closed 3 months ago
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/
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
I think https://mdxjs.com/ is more suitable for my case. Thank you for the help.
Initial checklist
Problem
Add an option to preserve the case of HTML tags. This is similar to issue https://github.com/syntax-tree/hast-util-raw/issues/18, but for HTML tags in general.
Currently, this
will yield
Solution
TabGroup
andTab
should be cased. It should produce this output instead