astro/examples/with-markdown
Nate Moore 09bc35e803 [next] Fix <Markdown> component (#1631)
* fix: cleanup issues with <Markdown> component

* fix: fix `content` usage with Markdown
2021-10-22 16:25:38 -06:00
..
public [ci] yarn format 2021-08-25 18:52:22 +00:00
src [next] Fix <Markdown> component (#1631) 2021-10-22 16:25:38 -06:00
.gitignore Restructure examples (#568) 2021-06-28 10:46:10 -05:00
.npmrc Restructure examples (#568) 2021-06-28 10:46:10 -05:00
.stackblitzrc update examples for stackblitz (#1379) 2021-09-16 08:06:22 -07:00
astro.config.mjs [ci] yarn format 2021-09-01 01:10:30 +00:00
package.json Update renderer API for Vite (#1623) 2021-10-22 16:25:38 -06:00
README.md update examples for stackblitz (#1379) 2021-09-16 08:06:22 -07:00
tsconfig.json [ci] yarn format 2021-08-13 23:32:55 +00:00

Astro Example: Markdown

npm init astro -- --template with-markdown

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.