0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-03 22:57:08 -05:00
astro/examples/with-markdown-shiki
github-actions[bot] cedb9a2105
[ci] release (#3334)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 14:48:58 -06:00
..
public
src
.gitignore refactor(vercel): Build Output API v3 (#3216) 2022-05-11 15:10:38 -06:00
.npmrc
.stackblitzrc
astro.config.mjs [ci] format 2022-04-02 18:30:48 +00:00
package.json [ci] release (#3334) 2022-05-12 14:48:58 -06:00
README.md
sandbox.config.json
tsconfig.json Update example tsconfig (#3107) 2022-04-28 11:42:55 -04:00

Astro Example: Markdown with Shiki

npm init astro -- --template with-markdown-shiki

Open in StackBlitz

This example showcases Astro's built-in Markdown support.

  • src/pages/index.astro uses Astro's <Markdown> component.
  • src/pages/other.md is a treated as a page entrypoint and uses a layout.