tiptap-extension-code-block-shiki 0.7.0 → 1.0.0
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 +2 -2
- package/dist/tiptap-extension-code-block-shiki.js +249 -1323
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ new Editor({
|
|
|
42
42
|
extensions: [
|
|
43
43
|
StarterKit.configure({ codeBlock: false }),
|
|
44
44
|
CodeBlockShiki.configure({
|
|
45
|
-
defaultTheme: 'tokyo-night' // Fallback theme
|
|
45
|
+
defaultTheme: 'tokyo-night', // Fallback theme
|
|
46
46
|
themes: {
|
|
47
47
|
light: 'github-light',
|
|
48
48
|
dark: 'github-dark',
|
|
@@ -94,7 +94,7 @@ The extension extends [CodeBlock](https://tiptap.dev/docs/editor/api/nodes/code-
|
|
|
94
94
|
|
|
95
95
|
Which theme to use by default. See https://shiki.style/themes.
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
### `themes`
|
|
98
98
|
|
|
99
99
|
Optionally specify themes for light and dark mode. See https://shiki.matsu.io/guide/dual-themes
|
|
100
100
|
|