Saran Tanpituckpong ✔️
Saran Tanpituckpong ✔️
[Version 4](https://github.com/gluons/vue-highlight.js/tree/version-4) was released. You can try it via [`npm install vue-highlight.js@next`](https://www.npmjs.com/package/vue-highlight.js/v/next).
Current version hasn't supported Highlight.js version 10. I'll work on [it](https://github.com/gluons/vue-highlight.js/issues/60) when I'm free.
[Version 4](https://github.com/gluons/vue-highlight.js/tree/version-4) was released. You can try it via [`npm install vue-highlight.js@next`](https://www.npmjs.com/package/vue-highlight.js/v/next).
[Version 4](https://github.com/gluons/vue-highlight.js/tree/version-4) was released. You can try it via [`npm install vue-highlight.js@next`](https://www.npmjs.com/package/vue-highlight.js/v/next).
[Highlight.js doesn't support line number.](https://highlightjs.readthedocs.io/en/latest/line-numbers.html) But it should be good if we can do this.
@lights0123 Wow! Interesting. I'll try it myself.
I haven't try this on Vue 3. I'll try this on Vue 3 when I'm free.
I currently have the problem with making component work with both Vue 2 and Vue 3.
You can use [`code`](https://github.com/gluons/vue-highlight.js/blob/master/README.md#code) property to bind to your dynamic code content.
Can you give me some example?