yikoyu / vuetify-pro-tiptap

A Rich Text Editor (WYSIWYG) for Vue3 with tiptap & Vuetify.
https://yikoyu.github.io/vuetify-pro-tiptap/
MIT License
159 stars 23 forks source link

Does it support code highlighting? #248

Open txl16095 opened 8 months ago

txl16095 commented 8 months ago

I am developing a local code snippet management tool and have been doing research because my project uses a combination of Electorn+Vuetity+Vue3. So I looked for a lot of code-related editors and rich text editors, but I never found a suitable one, but I accidentally saw your project today. It not only supports vue3 but also uses the Vuetity framework. I think it is very suitable, but after reading the website Introduction, I did not find that the code has a highlighted part, so I would like to ask, can our project support code highlighting, or can we integrate some other plug-ins to achieve code highlighting?

leo1200 commented 8 months ago

You might use highlight.js in a post-processing step, that's at least what I do (see https://cv.castellio.de/ for example usage, also regarding handling formulas and referencing)