@humanspeak/svelte-markdown 0.7.0 → 0.7.1
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/README.md +4 -0
- package/dist/SvelteMarkdown.svelte +2 -1
- package/package.json +24 -2
package/README.md
CHANGED
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
[](https://github.com/humanspeak/svelte-markdown/actions/workflows/npm-publish.yml)
|
|
5
5
|
[](https://coveralls.io/github/humanspeak/svelte-markdown?branch=main)
|
|
6
6
|
[](https://github.com/humanspeak/svelte-markdown/blob/main/LICENSE)
|
|
7
|
+
|
|
7
8
|
<!-- [](https://bundlephobia.com/package/@humanspeak/svelte-markdown) -->
|
|
9
|
+
|
|
8
10
|
[](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
|
|
9
11
|
[](https://github.com/humanspeak/svelte-markdown/actions/workflows/codeql.yml)
|
|
12
|
+
|
|
10
13
|
<!-- [](CODE_OF_CONDUCT.md) -->
|
|
14
|
+
|
|
11
15
|
[](http://www.typescriptlang.org/)
|
|
12
16
|
[](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
|
|
13
17
|
[](https://github.com/humanspeak/svelte-markdown/graphs/commit-activity)
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
}: Props & {
|
|
55
55
|
[key: string]: unknown
|
|
56
56
|
} = $props()
|
|
57
|
-
|
|
57
|
+
// @ts-expect-error - Intentionally not using $state for tokens
|
|
58
|
+
let tokens: Token[] | undefined // eslint-disable-line svelte/valid-compile
|
|
58
59
|
let previousSource = $state<string | Token[] | undefined>(undefined)
|
|
59
60
|
let lexer: Lexer
|
|
60
61
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humanspeak/svelte-markdown",
|
|
3
|
-
"description": "A markdown renderer for Svelte",
|
|
4
|
-
"version": "0.7.
|
|
3
|
+
"description": "A powerful, customizable markdown renderer for Svelte with TypeScript support",
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
7
7
|
"build": "vite build && npm run package",
|
|
@@ -30,6 +30,21 @@
|
|
|
30
30
|
"svelte",
|
|
31
31
|
"markdown"
|
|
32
32
|
],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"svelte",
|
|
35
|
+
"markdown",
|
|
36
|
+
"renderer",
|
|
37
|
+
"parser",
|
|
38
|
+
"marked",
|
|
39
|
+
"component",
|
|
40
|
+
"sveltekit",
|
|
41
|
+
"svelte5",
|
|
42
|
+
"md",
|
|
43
|
+
"documentation",
|
|
44
|
+
"html",
|
|
45
|
+
"converter",
|
|
46
|
+
"formatting"
|
|
47
|
+
],
|
|
33
48
|
"homepage": "https://markdown.svelte.page",
|
|
34
49
|
"files": [
|
|
35
50
|
"dist",
|
|
@@ -93,5 +108,12 @@
|
|
|
93
108
|
},
|
|
94
109
|
"volta": {
|
|
95
110
|
"node": "22.12.0"
|
|
111
|
+
},
|
|
112
|
+
"funding": {
|
|
113
|
+
"type": "github",
|
|
114
|
+
"url": "https://github.com/sponsors/humanspeak"
|
|
115
|
+
},
|
|
116
|
+
"publishConfig": {
|
|
117
|
+
"access": "public"
|
|
96
118
|
}
|
|
97
119
|
}
|