vue-highlight.js
vue-highlight.js copied to clipboard
๐ Highlight.js syntax highlighter component for Vue.
Is there a way to use this package with Vue 3? ```vue import { createApp } from "vue"; import App from "./App.vue"; import "bootstrap/dist/css/bootstrap.min.css"; import router from "./router"; import VueHighlightJS...
- [x] Support Highlight.js v10. Close #60. Fix #29. Fix #66. - [x] Add new (custom) Vue language. - [x] Change linter from TSLint to ESLint.
I got this error (hljs.highlight is not a function) and it turned out to be because highlight.js revved to 10.1.1, and somewhere along the line it's now incompatible with vue-highlight.js...
my package.json looks like below, ``` dependencies: "highlight.js": "^10.4.0", "vue-highlight.js": "^3.1.0", devDependencies: "@types/highlight.js": "^10.1.0", ``` FYI, Its already working fine but i have tried upgrade(Bump updates) im getting this issue....
Hey guys, I tried to run this component onto another component of mine but it doesn't recognize the `` tags, everything as per the documentation is imported and added onto...
Hello, is it possible to reload highlight js somehow dynamically? comparable to: ``` hljs.initHighlighting.called = false; hljs.initHighlighting(); ``` or ``` $(document).ready(function() { $('#myDiv').each(function(i, e) {hljs.highlightBlock(e)}); }); ```