We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 296ceed commit 5c6f9d1Copy full SHA for 5c6f9d1
README.md
@@ -3,11 +3,15 @@ Vue3 highlightjs with line numbers.
3
4
## Toggle theme dark/light mode
5
6
-```js
+```vue
7
+<script setup>
8
import CodeHighlight from '@/components/utils/CodeHighlight/CodeHighlight.vue'
9
+</script>
10
-<CodeHighlight lang="php" :code="code" />
-<CodeHighlight lang="php" :code="code" theme="dark-theme" />
11
+<template>
12
+ <CodeHighlight lang="php" :code="code" />
13
+ <CodeHighlight lang="php" :code="code" theme="dark-theme" />
14
15
```
16
17
## Instalacja
0 commit comments