Closed scottkellum closed 5 years ago
--sql
( ͡ʘ ͜ʖ ͡ʘ)
Parsing JSX looks like it's going to be hard: basically the only in-browser module available is AnyWhichWay/jsxdirect, which is based on lots of regex and seems rather flimsy from a cursory glance over the code.
Create a plugin system to allow users to add support for other languages. So you could add support for
--jsx
,--scss
,--pug
,--sql
or whatever you want to parse, and if it should be parsed as markup, script, data, or style.