You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shape for the Code supports only JavaScript at the moment. Makes sense to think about how can we improve it to support more languages and still highlight it through our custom renderer.
Maybe, we could use highlight.js, but it does not seem like its parsers returns annotated AST we could use to translate it to our renderer calls API. It returns an HTML with already annotated elements.
So maybe... we could parse an HTML then and extract annotations from there and use it to translate into renderer calls API.
The text was updated successfully, but these errors were encountered:
Shape for the Code supports only JavaScript at the moment. Makes sense to think about how can we improve it to support more languages and still highlight it through our custom renderer.
Maybe, we could use highlight.js, but it does not seem like its parsers returns annotated AST we could use to translate it to our renderer calls API. It returns an HTML with already annotated elements.
So maybe... we could parse an HTML then and extract annotations from there and use it to translate into renderer calls API.
The text was updated successfully, but these errors were encountered: