diff --git a/src/mdx/Npm.astro b/src/mdx/Npm.astro index 15e13e22d..de071965c 100644 --- a/src/mdx/Npm.astro +++ b/src/mdx/Npm.astro @@ -1,7 +1,7 @@ --- -const items = ["npm", "yarn", "pnpm", "bun"]; +const items = ["npm", "yarn", "pnpm", "bun", "deno"]; const html = await Astro.slots.render("default"); -const installCommands = ["npm i", "yarn add", "pnpm add", "bun add"]; +const installCommands = ["npm i", "yarn add", "pnpm add", "bun add", "deno add"]; const installLines = html.replaceAll(/<\/?p>/g, "").replaceAll('—', '--').split("\n"); const getCopyButton = (index: number) => { diff --git a/src/mdx/Npx.astro b/src/mdx/Npx.astro index dcecc1f5d..a523539b8 100644 --- a/src/mdx/Npx.astro +++ b/src/mdx/Npx.astro @@ -1,7 +1,7 @@ --- -const items = ["npm", "yarn", "pnpm", "bun"]; +const items = ["npm", "yarn", "pnpm", "bun", "deno"]; const html = await Astro.slots.render("default"); -const installCommands = ["npx", "yarn", "pnpm", "bunx"]; +const installCommands = ["npx", "yarn", "pnpm", "bunx", "deno x"]; const installLines = html .replaceAll(/<\/?p>/g, "") .replaceAll("—", "--") diff --git a/src/mdx/NpxCompact.astro b/src/mdx/NpxCompact.astro index d262ad463..aa8497360 100644 --- a/src/mdx/NpxCompact.astro +++ b/src/mdx/NpxCompact.astro @@ -1,6 +1,6 @@ --- const html = await Astro.slots.render("default"); -const installCommands = ["npx", "yarn", "pnpm", "bun"]; +const installCommands = ["npx", "yarn", "pnpm", "bun", "deno x"]; const installLines = html.replaceAll(/<\/?p>/g, "").replaceAll('—', '--').split("\n"); const getInstallCommands = () => installLines diff --git a/src/ui/CenteredLayout.astro b/src/ui/CenteredLayout.astro index bccbfcd38..2a2b59b3c 100644 --- a/src/ui/CenteredLayout.astro +++ b/src/ui/CenteredLayout.astro @@ -137,7 +137,7 @@ const { title, tree } = await getContentTree({