woot new expressivecode-starlight update!
This commit is contained in:
parent
bddafa4536
commit
a40395f369
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"editor.defaultFormatter": "biomejs.biome"
|
"editor.defaultFormatter": "biomejs.biome",
|
||||||
|
"[astro]": {
|
||||||
|
"editor.defaultFormatter": "astro-build.astro-vscode"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -229,8 +229,8 @@ importers:
|
||||||
specifier: ^0.4.1
|
specifier: ^0.4.1
|
||||||
version: 0.4.1(prettier-plugin-astro@0.13.0)(prettier@3.2.4)(typescript@5.3.3)
|
version: 0.4.1(prettier-plugin-astro@0.13.0)(prettier@3.2.4)(typescript@5.3.3)
|
||||||
'@astrojs/starlight':
|
'@astrojs/starlight':
|
||||||
specifier: ^0.16.0
|
specifier: ^0.17.0
|
||||||
version: 0.16.0(astro@4.2.4)
|
version: 0.17.0(astro@4.2.4)
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.2.4
|
specifier: ^4.2.4
|
||||||
version: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
version: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
||||||
|
@ -391,8 +391,8 @@ packages:
|
||||||
zod: 3.22.4
|
zod: 3.22.4
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@astrojs/starlight@0.16.0(astro@4.2.4):
|
/@astrojs/starlight@0.17.0(astro@4.2.4):
|
||||||
resolution: {integrity: sha512-zwSNiCqzZeiuivUp4Yhx+eMLGww8v8cRYoCYXg9myTXNUwphqPaVG3rp7dbaZ4y1MaejnjYWB444ZRItEgTDcQ==}
|
resolution: {integrity: sha512-a2s+x/5r0v7S5jERC91IuEqV+PXDUlFNVDJPrcbpjx0xaqvg4TezL1K3gWCptfHO1mUE9ikQ8vaArbNbgFVb/g==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
astro: ^4.0.0
|
astro: ^4.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -402,7 +402,7 @@ packages:
|
||||||
'@types/hast': 3.0.3
|
'@types/hast': 3.0.3
|
||||||
'@types/mdast': 4.0.3
|
'@types/mdast': 4.0.3
|
||||||
astro: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
astro: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
||||||
astro-expressive-code: 0.31.0(astro@4.2.4)
|
astro-expressive-code: 0.32.2(astro@4.2.4)
|
||||||
bcp-47: 2.1.0
|
bcp-47: 2.1.0
|
||||||
hast-util-select: 6.0.2
|
hast-util-select: 6.0.2
|
||||||
hastscript: 8.0.0
|
hastscript: 8.0.0
|
||||||
|
@ -1199,8 +1199,8 @@ packages:
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@expressive-code/core@0.31.0:
|
/@expressive-code/core@0.32.2:
|
||||||
resolution: {integrity: sha512-zeCuojWRYeFs0UDOhzpKMzpjI/tJPCQna4jcVp5SJLMn4qNtHXgVmz3AngoMFoFcAlK6meE3wxzy//0d6K4NPw==}
|
resolution: {integrity: sha512-b4/LuslONCqyT48eKlcxsbnIqGw4CSe/aW4Co58UvKrtDMXKtr4erpVx/EE2emszotWt0xtkOjCnS6o171+E4A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ctrl/tinycolor': 3.6.1
|
'@ctrl/tinycolor': 3.6.1
|
||||||
hast-util-to-html: 8.0.4
|
hast-util-to-html: 8.0.4
|
||||||
|
@ -1209,24 +1209,24 @@ packages:
|
||||||
postcss-nested: 6.0.1(postcss@8.4.33)
|
postcss-nested: 6.0.1(postcss@8.4.33)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@expressive-code/plugin-frames@0.31.0:
|
/@expressive-code/plugin-frames@0.32.2:
|
||||||
resolution: {integrity: sha512-eYWfK3i4w2gSpOGBFNnu05JKSXC90APgUNdam8y5i0Ie2CVAwpxDtEp0NRqugvEKC0aMJe6ZmHN5Hu2WAVJmig==}
|
resolution: {integrity: sha512-QKoL5jNCjQnz5GpQMBtZ8Gb1bNXxjarIBkMc8CIugdlvniA442latUKsH1fhacG1UQieSiADctSHjIvVH8Qm9A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@expressive-code/core': 0.31.0
|
'@expressive-code/core': 0.32.2
|
||||||
hastscript: 7.2.0
|
hastscript: 7.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@expressive-code/plugin-shiki@0.31.0:
|
/@expressive-code/plugin-shiki@0.32.2:
|
||||||
resolution: {integrity: sha512-fU5wPPfV1LGcS+Z1wcEkzI1fzBq9IAdt0DN0ni8sT7E+gpkULda4GA4IFD9iWKCGIhSDsBbG+bjc9hrYoJsDIQ==}
|
resolution: {integrity: sha512-ulNi/NAGMnx8qGBlRTGrH7qHeGV6r15MrkjY/AaTQNImnqory05DF4qOF/dqxe7WywawwsHQ2a4BzsoGYLjicA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@expressive-code/core': 0.31.0
|
'@expressive-code/core': 0.32.2
|
||||||
shikiji: 0.8.7
|
shikiji: 0.8.7
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@expressive-code/plugin-text-markers@0.31.0:
|
/@expressive-code/plugin-text-markers@0.32.2:
|
||||||
resolution: {integrity: sha512-32o3pPMBq6bVUfRsAfFyqNpHbD1Z3iftoX9yt95F5zakLMsmHzZL4f0jyNr8XpXe7qcTnl0kIijBkUpvS6Pxfg==}
|
resolution: {integrity: sha512-1fAkWkQ7qcb6DDqV3ILB1uMi7yvSIu6AHFW+bSzNcgXBl/KCudoUtmZ/YRBnNKbUqH8WSYUA41Yr/SeFwEGmbQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@expressive-code/core': 0.31.0
|
'@expressive-code/core': 0.32.2
|
||||||
hastscript: 7.2.0
|
hastscript: 7.2.0
|
||||||
unist-util-visit-parents: 5.1.3
|
unist-util-visit-parents: 5.1.3
|
||||||
dev: false
|
dev: false
|
||||||
|
@ -1780,7 +1780,7 @@ packages:
|
||||||
/@types/jsonfile@6.1.4:
|
/@types/jsonfile@6.1.4:
|
||||||
resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==}
|
resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 18.19.10
|
'@types/node': 20.11.6
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/mdast@4.0.3:
|
/@types/mdast@4.0.3:
|
||||||
|
@ -1852,7 +1852,7 @@ packages:
|
||||||
/@types/tar-stream@3.1.3:
|
/@types/tar-stream@3.1.3:
|
||||||
resolution: {integrity: sha512-Zbnx4wpkWBMBSu5CytMbrT5ZpMiF55qgM+EpHzR4yIDu7mv52cej8hTkOc6K+LzpkOAbxwn/m7j3iO+/l42YkQ==}
|
resolution: {integrity: sha512-Zbnx4wpkWBMBSu5CytMbrT5ZpMiF55qgM+EpHzR4yIDu7mv52cej8hTkOc6K+LzpkOAbxwn/m7j3iO+/l42YkQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 18.19.10
|
'@types/node': 20.11.6
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/unist@2.0.10:
|
/@types/unist@2.0.10:
|
||||||
|
@ -2318,13 +2318,14 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/astro-expressive-code@0.31.0(astro@4.2.4):
|
/astro-expressive-code@0.32.2(astro@4.2.4):
|
||||||
resolution: {integrity: sha512-o6eFrRSYLnlM/2FKkO3MgkbmVxT8N6DJcKvbRf1wbUcRXpz7s1KfugbdsaGw3ABEWUBuQIBsRppcGGw2L816Vg==}
|
resolution: {integrity: sha512-uJbgSCl9F9NGjdfTmBHci5Ws0/zMUNk9dWfOl6rvYaOL6NZha+NNjnmB3Aza7GnxP+NvQt3RV8M2vpcZnaudSw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
astro: ^3.3.0 || ^4.0.0-beta
|
astro: ^3.3.0 || ^4.0.0-beta
|
||||||
dependencies:
|
dependencies:
|
||||||
astro: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
astro: 4.2.4(sass@1.70.0)(typescript@5.3.3)
|
||||||
remark-expressive-code: 0.31.0
|
hast-util-to-html: 8.0.4
|
||||||
|
remark-expressive-code: 0.32.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/astro-font@0.0.77:
|
/astro-font@0.0.77:
|
||||||
|
@ -3783,13 +3784,13 @@ packages:
|
||||||
dev: false
|
dev: false
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
/expressive-code@0.31.0:
|
/expressive-code@0.32.2:
|
||||||
resolution: {integrity: sha512-rxKGYS8iRwNUbRNfyCyoe3XQvBLTtGdXbNKM+ODDWCn4VL2DVT1gD1M2N2Alg8HQHIWZJsZIMsYbziO0MRjPlw==}
|
resolution: {integrity: sha512-fUwnj9O6/5HKSniD/nXLEGKmcwqL+ipWyZAFjxp9weI9AkTiya3bVAo9gVUquM4jXRHSs8pgsRMQgRtKItlriA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@expressive-code/core': 0.31.0
|
'@expressive-code/core': 0.32.2
|
||||||
'@expressive-code/plugin-frames': 0.31.0
|
'@expressive-code/plugin-frames': 0.32.2
|
||||||
'@expressive-code/plugin-shiki': 0.31.0
|
'@expressive-code/plugin-shiki': 0.32.2
|
||||||
'@expressive-code/plugin-text-markers': 0.31.0
|
'@expressive-code/plugin-text-markers': 0.32.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/extend-shallow@2.0.1:
|
/extend-shallow@2.0.1:
|
||||||
|
@ -6287,10 +6288,10 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/remark-expressive-code@0.31.0:
|
/remark-expressive-code@0.32.2:
|
||||||
resolution: {integrity: sha512-ZnKXo9lB0kBUHZIlw2NdqMMgXriVVajEhtQfJ+MWeibMpyM1kuOa28jefNfNFd3FAoNPrc/A3M0fDRkYvWw9Gw==}
|
resolution: {integrity: sha512-UnCUlu+Q2FO8glmtlEnjIN6V8IKfbGlYLSTDokbd9VCZHkI0+FeHcCc/5WpzGY2CSSPL02AC5rHUfvAZV7tZzQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
expressive-code: 0.31.0
|
expressive-code: 0.32.2
|
||||||
hast-util-to-html: 8.0.4
|
hast-util-to-html: 8.0.4
|
||||||
unist-util-visit: 4.1.2
|
unist-util-visit: 4.1.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.4.1",
|
"@astrojs/check": "^0.4.1",
|
||||||
"@astrojs/starlight": "^0.16.0",
|
"@astrojs/starlight": "^0.17.0",
|
||||||
"astro": "^4.2.4",
|
"astro": "^4.2.4",
|
||||||
"astro-font": "^0.0.77",
|
"astro-font": "^0.0.77",
|
||||||
"sass": "^1.69.5",
|
"sass": "^1.69.5",
|
||||||
|
|
|
@ -3,4 +3,5 @@ npx @matthiesenxyz/create-astro-ghostcms
|
||||||
# Want to pass arguments through to the command? YOU CAN!
|
# Want to pass arguments through to the command? YOU CAN!
|
||||||
# `--install` : Sets Install Dependencies to 'true'
|
# `--install` : Sets Install Dependencies to 'true'
|
||||||
# `--git` : Initiates git Repo
|
# `--git` : Initiates git Repo
|
||||||
# `--pkg-manager` : Specify your Package manager(i.e. npm, yarn | DEFAULT: pnpm)
|
# `--pkg-manager` : Specify your Package manager
|
||||||
|
# ( i.e. `npm`, `yarn` | DEFAULT: `pnpm` )
|
|
@ -1,14 +1,15 @@
|
||||||
---
|
---
|
||||||
import { Code } from "astro:components"
|
import { Code } from '@astrojs/starlight/components';
|
||||||
import quickstart from "../assets/quickstart.sh?raw"
|
import quickstart from "../assets/quickstart.sh?raw"
|
||||||
|
|
||||||
|
const highlights = ['npm', 'yarn', 'pnpm', 2];
|
||||||
---
|
---
|
||||||
<div class="quickstart">
|
<Code
|
||||||
|
title='Astro-GhostCMS Quickstart'
|
||||||
|
lang={'sh'}
|
||||||
|
class='quickstart'
|
||||||
|
code={quickstart}
|
||||||
|
mark={highlights}
|
||||||
|
/>
|
||||||
|
|
||||||
<center>
|
|
||||||
<div class="qstart"> /|\ Astro-GhostCMS Quickstart /|\ </div>
|
|
||||||
</center>
|
|
||||||
|
|
||||||
<Code lang={'sh'} code={quickstart}/>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ code {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 1rem;
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
color: rgb(170, 170, 170);
|
color: rgb(170, 170, 170);
|
||||||
|
|
Loading…
Reference in New Issue