svelte-highlight 7.8.1 → 7.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Highlight.svelte +0 -2
- package/HighlightAuto.svelte +0 -1
- package/HighlightSvelte.svelte +0 -1
- package/LangTag.svelte +0 -2
- package/LineNumbers.svelte +0 -2
- package/README.md +2 -4
- package/package.json +1 -1
package/Highlight.svelte
CHANGED
package/HighlightAuto.svelte
CHANGED
package/HighlightSvelte.svelte
CHANGED
package/LangTag.svelte
CHANGED
package/LineNumbers.svelte
CHANGED
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
> Syntax highlighting for Svelte using [highlight.js](https://github.com/highlightjs/highlight.js).
|
|
7
7
|
|
|
8
|
-
Try it in [StackBlitz](https://stackblitz.com/edit/svelte-highlight?file=src%2Froutes%2Findex.svelte).
|
|
8
|
+
Try it in the [Svelte REPL](https://svelte.dev/playground/535d6bf354da499389140dbfcb12004f) or [StackBlitz](https://stackblitz.com/edit/svelte-highlight?file=src%2Froutes%2Findex.svelte).
|
|
9
9
|
|
|
10
10
|
## [Documentation](https://svhe.onrender.com)
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ The Changelog is [available on GitHub](https://github.com/metonym/svelte-highlig
|
|
|
18
18
|
npm i svelte-highlight
|
|
19
19
|
|
|
20
20
|
# pnpm
|
|
21
|
-
pnpm i svelte-highlight
|
|
21
|
+
pnpm i svelte-highlight
|
|
22
22
|
|
|
23
23
|
# Bun
|
|
24
24
|
bun i svelte-highlight
|
|
@@ -27,8 +27,6 @@ bun i svelte-highlight
|
|
|
27
27
|
yarn add svelte-highlight
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Note that [pnpm](https://github.com/pnpm/pnpm) users must also install `highlight.js`.
|
|
31
|
-
|
|
32
30
|
## Basic Usage
|
|
33
31
|
|
|
34
32
|
The `Highlight` component requires two props:
|