Closed timsuchanek closed 7 years ago
Hey, how would you highlight specific lines with refractor? Would you use the prism.js plugin for that? Thanks!
I don’t know! Prism plugins probably won’t work.
You can work with the AST though?
Let me know by commenting below if you’d still like to discuss this further.
For anyone looking for this for either refractor or lowlight, Conor Hastings did an implementation of this for these libraries in react-syntax-highlighter:
refractor
lowlight
react-syntax-highlighter
Hey, how would you highlight specific lines with refractor? Would you use the prism.js plugin for that? Thanks!