Fix: lang unspecified code blocks (#8461)

This commit is contained in:
Marc 2023-09-11 13:45:21 +02:00 committed by GitHub
parent 0a2567c288
commit 435b105498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 43 additions and 38 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix lang unspecified code blocks (markdownlint MD040)

View file

@ -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
```

View file

@ -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

View file

@ -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/

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,6 @@
# Astro + AlpineJS Example
```
```sh
npm create astro@latest -- --template framework-alpine
```

View file

@ -1,6 +1,6 @@
# Astro + Lit Example
```
```sh
npm create astro@latest -- --template framework-lit
```

View file

@ -1,6 +1,6 @@
# Kitchen Sink: Microfrontends with Astro
```
```sh
npm create astro@latest -- --template framework-multiple
```

View file

@ -1,6 +1,6 @@
# Astro + Preact Example
```
```sh
npm create astro@latest -- --template framework-preact
```

View file

@ -1,6 +1,6 @@
# Astro + React Example
```
```sh
npm create astro@latest -- --template framework-react
```

View file

@ -1,6 +1,6 @@
# Astro + Solid.js Example
```
```sh
npm create astro@latest -- --template framework-solid
```

View file

@ -1,6 +1,6 @@
# Astro + Svelte Example
```
```sh
npm create astro@latest -- --template framework-svelte
```

View file

@ -1,6 +1,6 @@
# Astro + Vue Example
```
```sh
npm create astro@latest -- --template framework-vue
```

View file

@ -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

View file

@ -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

View file

@ -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/

View file

@ -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/

View file

@ -1,6 +1,6 @@
# Astro Starter Kit: Portfolio
```
```sh
npm create astro@latest -- --template portfolio
```

View file

@ -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/

View file

@ -1,6 +1,6 @@
# Astro Example: Markdown with Plugins
```
```sh
npm create astro@latest -- --template with-markdown-plugins
```

View file

@ -1,6 +1,6 @@
# Astro Example: Markdown with Shiki
```
```sh
npm create astro@latest -- --template with-markdown-shiki
```

View file

@ -1,6 +1,6 @@
# Astro Example: MDX
```
```sh
npm create astro@latest -- --template with-mdx
```

View file

@ -1,6 +1,6 @@
# Astro Example: Nanostores
```
```sh
npm create astro@latest -- --template with-nanostores
```

View file

@ -1,6 +1,6 @@
# Astro with Tailwind
```
```sh
npm create astro@latest -- --template with-tailwindcss
```

View file

@ -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/

View file

@ -1,6 +1,6 @@
# Astro + [Vitest](https://vitest.dev/) Example
```
```sh
npm create astro@latest -- --template with-vitest
```