astro/examples/with-markdown
github-actions[bot] b5f1bd46ff
Version Packages (#1472)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
..
public [ci] yarn format 2021-08-25 18:52:22 +00:00
src stop building, bundling, and transforming public/ files (#1210) 2021-08-25 11:51:04 -07: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 Version Packages (#1472) 2021-10-01 13:36:02 -04: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.