0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/with-markdown-shiki
github-actions[bot] 81104a9335
[ci] release (#3604)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-16 12:05:10 -04:00
..
public Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -06:00
src Update examples for 0.24.0 (#2740) 2022-03-09 13:52:31 -08:00
.gitignore refactor(vercel): Build Output API v3 (#3216) 2022-05-11 15:10:38 -06:00
.npmrc Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
.stackblitzrc Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -06:00
astro.config.mjs [ci] format 2022-04-02 18:30:48 +00:00
package.json [ci] release (#3604) 2022-06-16 12:05:10 -04:00
README.md fix(examples): incorrect StackBlitz demo URLs (#3584) 2022-06-13 12:22:20 -04:00
sandbox.config.json Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -06:00
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.