astro/examples/with-markdown-shiki
Fred K. Schott 078b6cde6c [ci] release (next) (#2838)
This reverts commit 935e6fa0c8.
2022-03-20 21:02:08 -07: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 Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -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 Astro Integration System (#2820) 2022-03-18 15:35:45 -07:00
package.json [ci] release (next) (#2838) 2022-03-20 21:02:08 -07:00
README.md Remove docs from monorepo (#2517) 2022-02-07 13:39:53 -05:00
sandbox.config.json Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -06:00
tsconfig.json Add Shiki as an alternative to Prism (#2497) 2022-01-31 16:14:07 -06: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.