File tree Expand file tree Collapse file tree 6 files changed +62
-8
lines changed Expand file tree Collapse file tree 6 files changed +62
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Supported Languages
2
2
3
- > 192 languages exported from highlight.js@11.5 .0
3
+ > 192 languages exported from highlight.js@11.6 .0
4
4
5
5
## 1c (` _1c ` )
6
6
Original file line number Diff line number Diff line change 1
1
# Supported Styles
2
2
3
- > 246 styles exported from highlight.js@11.5 .0
3
+ > 248 styles exported from highlight.js@11.6 .0
4
4
5
5
## 3024 (` _3024 ` )
6
6
3830
3830
</script >
3831
3831
```
3832
3832
3833
+ ## panda-syntax-dark (` pandaSyntaxDark ` )
3834
+
3835
+ ** Injected Styles**
3836
+
3837
+ ``` html
3838
+ <script >
3839
+ import pandaSyntaxDark from " svelte-highlight/styles/pandaSyntaxDark" ;
3840
+ </script >
3841
+
3842
+ <svelte:head >
3843
+ {@html pandaSyntaxDark}
3844
+ </svelte:head >
3845
+ ```
3846
+
3847
+ ** CSS StyleSheet**
3848
+
3849
+ ``` html
3850
+ <script >
3851
+ import " svelte-highlight/languages/panda-syntax-dark.css" ;
3852
+ </script >
3853
+ ```
3854
+
3855
+ ## panda-syntax-light (` pandaSyntaxLight ` )
3856
+
3857
+ ** Injected Styles**
3858
+
3859
+ ``` html
3860
+ <script >
3861
+ import pandaSyntaxLight from " svelte-highlight/styles/pandaSyntaxLight" ;
3862
+ </script >
3863
+
3864
+ <svelte:head >
3865
+ {@html pandaSyntaxLight}
3866
+ </svelte:head >
3867
+ ```
3868
+
3869
+ ** CSS StyleSheet**
3870
+
3871
+ ``` html
3872
+ <script >
3873
+ import " svelte-highlight/languages/panda-syntax-light.css" ;
3874
+ </script >
3875
+ ```
3876
+
3833
3877
## papercolor-dark (` papercolorDark ` )
3834
3878
3835
3879
** Injected Styles**
Original file line number Diff line number Diff line change 695
695
"name" : " outrun-dark" ,
696
696
"moduleName" : " outrunDark"
697
697
},
698
+ {
699
+ "name" : " panda-syntax-dark" ,
700
+ "moduleName" : " pandaSyntaxDark"
701
+ },
702
+ {
703
+ "name" : " panda-syntax-light" ,
704
+ "moduleName" : " pandaSyntaxLight"
705
+ },
698
706
{
699
707
"name" : " papercolor-dark" ,
700
708
"moduleName" : " papercolorDark"
Original file line number Diff line number Diff line change 18
18
"format" : " prettier --ignore-path .gitignore --write ."
19
19
},
20
20
"dependencies" : {
21
- "highlight.js" : " 11.5 .0"
21
+ "highlight.js" : " 11.6 .0"
22
22
},
23
23
"devDependencies" : {
24
24
"@sveltejs/adapter-static" : " 1.0.0-next.35" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ test("Styles", () => {
5
5
const styleNames = Object . keys ( styles ) ;
6
6
7
7
expect ( styles . default ) . toBeUndefined ( ) ;
8
- expect ( styleNames . length ) . toMatchInlineSnapshot ( "246" ) ;
8
+ expect ( styleNames . length ) . toMatchInlineSnapshot ( '248' ) ;
9
9
expect ( styleNames ) . toMatchInlineSnapshot ( `
10
10
[
11
11
"_3024",
@@ -182,6 +182,8 @@ test("Styles", () => {
182
182
"oneLight",
183
183
"onedark",
184
184
"outrunDark",
185
+ "pandaSyntaxDark",
186
+ "pandaSyntaxLight",
185
187
"papercolorDark",
186
188
"papercolorLight",
187
189
"paraiso",
Original file line number Diff line number Diff line change @@ -789,10 +789,10 @@ has@^1.0.3:
789
789
dependencies :
790
790
function-bind "^1.1.1"
791
791
792
- highlight.js@11.5 .0 :
793
- version "11.5 .0"
794
- resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-11.5 .0.tgz#00abb7ed926491adbdabc93a4f3fd2b88b451b4a "
795
- integrity sha512-SM6WDj5/C+VfIY8pZ6yW6Xa0Fm1tniYVYWYW1Q/DcMnISZFrC3aQAZZZFAAZtybKNrGId3p/DNbFTtcTXXgYBw ==
792
+ highlight.js@11.6 .0 :
793
+ version "11.6 .0"
794
+ resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-11.6 .0.tgz#a50e9da05763f1bb0c1322c8f4f755242cff3f5a "
795
+ integrity sha512-ig1eqDzJaB0pqEvlPVIpSSyMaO92bH1N2rJpLMN/nX396wTpDA4Eq0uK+7I/2XG17pFaaKE0kjV/XPeGt7Evjw ==
796
796
797
797
html-encoding-sniffer@^3.0.0 :
798
798
version "3.0.0"
You can’t perform that action at this time.
0 commit comments