react-spectrum
648dd89a - TreeSitter syntax highlighting (#187)

Commit
6 years ago
TreeSitter syntax highlighting (#187) * Try using tree sitter Would love to get the style from atom because ours isn't quite as fancy Would also love to get a spectrum person to actually do the colors, css is a little different than code Left prop tables alone for now, but they should probably get their own classes instead of piggy backing on the code syntax, they can use the same variables, just should have their own class names Each example now needs to be tsx instead of jsx Each example must return a single node in order for tree sitter to make sense of it * remove extraneous sample highlighting code * get yarn install working * Fix mdx processing so we don't need Fragment * split out our wrapping/unwrapping code into its own module
Author
Parents
Loading