0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples/with-markdown-shiki
Erika c9b679e56e
Move types to a .d.ts file inside examples projects (#4171)
* Move types to a .d.ts file to avoid making types explicit

* Rename to proper types

* Move to proper place

* Add noEmit to tsconfig.json

* Add back removed code by accident
2022-08-05 17:46:52 -04:00
..
public
src Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04: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
astro.config.mjs [ci] format 2022-04-02 18:30:48 +00:00
package.json [ci] release (#4152) 2022-08-04 12:21:38 -04:00
README.md Move the Markdown component to its own package (#3986) 2022-07-20 16:45:05 -04:00
sandbox.config.json
tsconfig.json Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -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.md is a treated as a page entrypoint and uses a layout.