Also support type=text/babel for <script> tags. #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "text/babel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both the official React documentation1 as well as the official Babel documentation2 still mention
type=text/babelas an alternative totype=text/jsx, so it makes sense for us to support as well for the purpose of syntax highlighting.https://reactjs.org/docs/add-react-to-a-website.html#quickly-try-jsx ↩︎
https://babeljs.io/docs/en/babel-standalone#script-tags ↩︎