astro/examples/with-markdown
github-actions[bot] 31c24778aa
Version Packages (next) (#859)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26 11:19:41 -04:00
..
public/styles [ci] yarn format 2021-07-20 04:07:49 +00:00
src [ci] yarn format 2021-07-20 04:07:49 +00: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
package.json Version Packages (next) (#859) 2021-07-26 11:19:41 -04: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.