vue-plugin icon indicating copy to clipboard operation
vue-plugin copied to clipboard

Highlight.js Vue Plugin

Results 13 vue-plugin issues
Sort by recently updated
recently updated
newest added

I am currently experienced the following error when running my unit tests: ` ReferenceError: Vue is not defined ` ``` > 10 | import hljsVuePlugin from '@highlightjs/vue-plugin'; | ^ ```...

As this is now no longer part of Highlight.js core and issues here more often than not have more to do with Vue.js (or build systems, etc) than they do...

Does this library have inbuilt SSR support for Vue 3? It is working well on client-side, but when I ran SSR production build I got Vue reference error (added screenshot...

Missing name of package in README.md: `npm install @highlightjs/vue-plugin` or `pnpm add @highlightjs/vue-plugin` Thank you.

The readme lacks guidance on selecting a CSS. Although it's shown with a code line here https://github.com/highlightjs/vue-plugin#using-the-pre-built-libraries and also somewhere further down, a separate paragraph on this would be helpful,...

Whether I call the plugin directly from my template section or mount it programmatically and passing to it a language prop value, the language I specify always ends up being...

No matter the theme I select, some elements like `.hljs-function`, `.hljs-params`, `.hljs-property` among others just don't have styles attached to them hence must be styled manually. ![Screenshot_29](https://github.com/highlightjs/vue-plugin/assets/6838902/a1cdb9bf-7af1-4072-b93d-509e3907f31b) Is it normal?

![image](https://user-images.githubusercontent.com/49709445/218119842-39a73c90-7771-441a-a5ad-16fece963a28.png)

I also added a script setup example using the component.

I have discovered a new issue based on issue # 44. When I customize an hljs object and the highlighted code I need is HTTP RESPONSE, the highlighted code in...