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
Hello, it would be amazing to expose the following as exports:
normalizeTokens()
useTokenize()
I'm currently facing a situation where I want to insert elements between lines of code and I'd like to do it outside of the <Highlight> component, but I still want the tokenization improvements performed by normalizeTokens().
Does this make sense?
The text was updated successfully, but these errors were encountered:
Is there an example of how to use the output of useTokenize? It says you can use this function and pass the tokens to <Highlight /> but I don't see how to do that as it still requires passing the code property and then providing the rendering functioning.
Hello, it would be amazing to expose the following as exports:
normalizeTokens()
useTokenize()
I'm currently facing a situation where I want to insert elements between lines of code and I'd like to do it outside of the
<Highlight>
component, but I still want the tokenization improvements performed bynormalizeTokens()
.Does this make sense?
The text was updated successfully, but these errors were encountered: