Skip to content

Commit a867da6

Browse files
authored
feat(deps): upgrade highlight.js to 11.11.0 (#355)
1 parent 8486bef commit a867da6

6 files changed

+165
-4
lines changed

SUPPORTED_LANGUAGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported Languages
22

3-
> 192 languages exported from highlight.js@11.10.0
3+
> 192 languages exported from highlight.js@11.11.0
44
55
## 1c (`_1c`)
66

SUPPORTED_STYLES.md

+155-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported Styles
22

3-
> 249 styles exported from highlight.js@11.10.0
3+
> 256 styles exported from highlight.js@11.11.0
44
55
## 1c-light (`_1cLight`)
66

@@ -1520,6 +1520,94 @@
15201520
</script>
15211521
```
15221522

1523+
## cybertopia-cherry (`cybertopiaCherry`)
1524+
1525+
**Injected Styles**
1526+
1527+
```html
1528+
<script>
1529+
import cybertopiaCherry from "svelte-highlight/styles/cybertopiaCherry";
1530+
</script>
1531+
1532+
<svelte:head>
1533+
{@html cybertopiaCherry}
1534+
</svelte:head>
1535+
```
1536+
1537+
**CSS StyleSheet**
1538+
1539+
```html
1540+
<script>
1541+
import "svelte-highlight/styles/cybertopia-cherry.css";
1542+
</script>
1543+
```
1544+
1545+
## cybertopia-dimmer (`cybertopiaDimmer`)
1546+
1547+
**Injected Styles**
1548+
1549+
```html
1550+
<script>
1551+
import cybertopiaDimmer from "svelte-highlight/styles/cybertopiaDimmer";
1552+
</script>
1553+
1554+
<svelte:head>
1555+
{@html cybertopiaDimmer}
1556+
</svelte:head>
1557+
```
1558+
1559+
**CSS StyleSheet**
1560+
1561+
```html
1562+
<script>
1563+
import "svelte-highlight/styles/cybertopia-dimmer.css";
1564+
</script>
1565+
```
1566+
1567+
## cybertopia-icecap (`cybertopiaIcecap`)
1568+
1569+
**Injected Styles**
1570+
1571+
```html
1572+
<script>
1573+
import cybertopiaIcecap from "svelte-highlight/styles/cybertopiaIcecap";
1574+
</script>
1575+
1576+
<svelte:head>
1577+
{@html cybertopiaIcecap}
1578+
</svelte:head>
1579+
```
1580+
1581+
**CSS StyleSheet**
1582+
1583+
```html
1584+
<script>
1585+
import "svelte-highlight/styles/cybertopia-icecap.css";
1586+
</script>
1587+
```
1588+
1589+
## cybertopia-saturated (`cybertopiaSaturated`)
1590+
1591+
**Injected Styles**
1592+
1593+
```html
1594+
<script>
1595+
import cybertopiaSaturated from "svelte-highlight/styles/cybertopiaSaturated";
1596+
</script>
1597+
1598+
<svelte:head>
1599+
{@html cybertopiaSaturated}
1600+
</svelte:head>
1601+
```
1602+
1603+
**CSS StyleSheet**
1604+
1605+
```html
1606+
<script>
1607+
import "svelte-highlight/styles/cybertopia-saturated.css";
1608+
</script>
1609+
```
1610+
15231611
## danqing (`danqing`)
15241612

15251613
**Injected Styles**
@@ -4358,6 +4446,72 @@
43584446
</script>
43594447
```
43604448

4449+
## rose-pine (`rosePine`)
4450+
4451+
**Injected Styles**
4452+
4453+
```html
4454+
<script>
4455+
import rosePine from "svelte-highlight/styles/rosePine";
4456+
</script>
4457+
4458+
<svelte:head>
4459+
{@html rosePine}
4460+
</svelte:head>
4461+
```
4462+
4463+
**CSS StyleSheet**
4464+
4465+
```html
4466+
<script>
4467+
import "svelte-highlight/styles/rose-pine.css";
4468+
</script>
4469+
```
4470+
4471+
## rose-pine-dawn (`rosePineDawn`)
4472+
4473+
**Injected Styles**
4474+
4475+
```html
4476+
<script>
4477+
import rosePineDawn from "svelte-highlight/styles/rosePineDawn";
4478+
</script>
4479+
4480+
<svelte:head>
4481+
{@html rosePineDawn}
4482+
</svelte:head>
4483+
```
4484+
4485+
**CSS StyleSheet**
4486+
4487+
```html
4488+
<script>
4489+
import "svelte-highlight/styles/rose-pine-dawn.css";
4490+
</script>
4491+
```
4492+
4493+
## rose-pine-moon (`rosePineMoon`)
4494+
4495+
**Injected Styles**
4496+
4497+
```html
4498+
<script>
4499+
import rosePineMoon from "svelte-highlight/styles/rosePineMoon";
4500+
</script>
4501+
4502+
<svelte:head>
4503+
{@html rosePineMoon}
4504+
</svelte:head>
4505+
```
4506+
4507+
**CSS StyleSheet**
4508+
4509+
```html
4510+
<script>
4511+
import "svelte-highlight/styles/rose-pine-moon.css";
4512+
</script>
4513+
```
4514+
43614515
## routeros (`routeros`)
43624516

43634517
**Injected Styles**

bun.lockb

0 Bytes
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"playwright": "playwright"
2020
},
2121
"dependencies": {
22-
"highlight.js": "11.10.0"
22+
"highlight.js": "11.11.0"
2323
},
2424
"devDependencies": {
2525
"@astrojs/svelte": "latest",

tests/__snapshots__/styles.test.ts.snap

+7
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ exports[`Styles 1`] = `
7272
"colors",
7373
"cupcake",
7474
"cupertino",
75+
"cybertopiaCherry",
76+
"cybertopiaDimmer",
77+
"cybertopiaIcecap",
78+
"cybertopiaSaturated",
7579
"danqing",
7680
"darcula",
7781
"dark",
@@ -200,6 +204,9 @@ exports[`Styles 1`] = `
200204
"rosPine",
201205
"rosPineDawn",
202206
"rosPineMoon",
207+
"rosePine",
208+
"rosePineDawn",
209+
"rosePineMoon",
203210
"routeros",
204211
"sagelight",
205212
"sandcastle",

tests/styles.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ test("Styles", () => {
55

66
// @ts-expect-error
77
expect(styles.default).toBeUndefined();
8-
expect(styleNames.length).toEqual(249);
8+
expect(styleNames.length).toEqual(256);
99
expect(styleNames).toMatchSnapshot();
1010
});

0 commit comments

Comments
 (0)