Open artknight opened 9 months ago
Hey @artknight 👋
What issues did you encounter in order to make those changes?
Hey @artknight 👋
What issues did you encounter in order to make those changes?
PRE makes sure the indentation persists.
removing that block of code, and replacing the highlight() method with highlightAuto() ensures the syntax highlighting.
Arthur
@luin
You can use quill-react-commercial.
It makes code highlighting more professional.
Any updates on this? Can't make the syntax highlighting work...
@luin any chance my changes could make it into master?
@luin I am having the same problem. Currently, we have no choice but to modify the original library code to use it, so it would be helpful if this problem could be resolved soon.
related issue: https://github.com/slab/quill/issues/4300
cc: @artknight
I have implemented beta.2 in my app. However, I ended up making a couple of modifications to the
syntax.ts
andcode.ts
to better the hljs support. Here are my modifications below. I would like to suggest to implement those into the code module. Let me know your thoughtsand
Thanks, Art