Fix: lang unspecified code blocks (#8461)
This commit is contained in:
parent
0a2567c288
commit
435b105498
27 changed files with 43 additions and 38 deletions
5
.changeset/poor-pears-wash.md
Normal file
5
.changeset/poor-pears-wash.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix lang unspecified code blocks (markdownlint MD040)
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
The easiest way to check out one of these examples on your machine is by running this command in an empty directory:
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template [EXAMPLE_NAME]
|
||||
```
|
||||
|
||||
|
@ -10,12 +10,12 @@ npm create astro@latest -- --template [EXAMPLE_NAME]
|
|||
|
||||
Visit [awesome-astro](https://github.com/one-aalam/awesome-astro) for a full list of community examples. You can use `npm create astro@latest` to check out any community examples:
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]
|
||||
```
|
||||
|
||||
Paths to examples nested inside of a repo are also supported:
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Basics
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template basics
|
||||
```
|
||||
|
||||
|
@ -16,7 +16,7 @@ npm create astro@latest -- --template basics
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
│ └── favicon.svg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Blog
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template blog
|
||||
```
|
||||
|
||||
|
@ -25,7 +25,7 @@ Features:
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
├── public/
|
||||
├── src/
|
||||
│ ├── components/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This is a template for an Astro component library. Use this template for writing components to use in multiple projects or publish to NPM.
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template component
|
||||
```
|
||||
|
||||
|
@ -14,7 +14,7 @@ npm create astro@latest -- --template component
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── index.ts
|
||||
├── src
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/deno)
|
||||
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/deno/devcontainer.json)
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template deno
|
||||
```
|
||||
|
||||
|
@ -16,7 +16,7 @@ npm create astro@latest -- --template deno
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
│ └── favicon.svg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + AlpineJS Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-alpine
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + Lit Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-lit
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Kitchen Sink: Microfrontends with Astro
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-multiple
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + Preact Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-preact
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + React Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-react
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + Solid.js Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-solid
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + Svelte Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-svelte
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + Vue Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template framework-vue
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Hackernews
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template hackernews
|
||||
```
|
||||
|
||||
|
@ -14,7 +14,7 @@ npm create astro@latest -- --template hackernews
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
│ └── favicon.svg
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This is a template for an Astro integration. Use this template for writing integrations to use in multiple projects or publish to NPM.
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template integration
|
||||
```
|
||||
|
||||
|
@ -14,7 +14,7 @@ npm create astro@latest -- --template integration
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── index.ts
|
||||
├── tsconfig.json
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Minimal
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template minimal
|
||||
```
|
||||
|
||||
|
@ -14,7 +14,7 @@ npm create astro@latest -- --template minimal
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
|
|
|
@ -4,7 +4,7 @@ Documentation for "Non-HTML Pages":
|
|||
|
||||
https://docs.astro.build/en/core-concepts/endpoints/#static-file-endpoints
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template non-html-pages
|
||||
```
|
||||
|
||||
|
@ -18,7 +18,7 @@ npm create astro@latest -- --template non-html-pages
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Portfolio
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template portfolio
|
||||
```
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This starter showcases the experimental Markdoc integration.
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-markdoc
|
||||
```
|
||||
|
||||
|
@ -15,7 +15,7 @@ npm create astro@latest -- --template with-markdoc
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Example: Markdown with Plugins
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-markdown-plugins
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Example: Markdown with Shiki
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-markdown-shiki
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Example: MDX
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-mdx
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Example: Nanostores
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-nanostores
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro with Tailwind
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-tailwindcss
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro Starter Kit: Vite PWA
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-vite-plugin-pwa
|
||||
```
|
||||
|
||||
|
@ -14,7 +14,7 @@ npm create astro@latest -- --template with-vite-plugin-pwa
|
|||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Astro + [Vitest](https://vitest.dev/) Example
|
||||
|
||||
```
|
||||
```sh
|
||||
npm create astro@latest -- --template with-vitest
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue