astro/examples/with-markdown
2021-07-22 12:55:37 -05:00
..
public/styles [ci] yarn format 2021-07-20 04:07:49 +00:00
src chore: add mdc to Code extension 2021-07-22 12:55:37 -05: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
astro.config.mjs chore: add mdc to Code extension 2021-07-22 12:55:37 -05:00
package.json fix example astro versions 2021-07-22 08:56:38 -07:00
README.md Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -05:00

Astro Example: Markdown

npm init astro -- --template with-markdown

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.