0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples/with-markdown
Nate Moore f721275f33
Fix <Markdown {content} /> closing parent tag (#575)
* test(#494): add failing test

* chore: update with-markdown example

* fix(#494): avoid early close with <Markdown content />

* chore: add changeset
2021-06-29 15:33:56 -05:00
..
public/styles Restructure examples (#568) 2021-06-28 10:46:10 -05:00
src Fix <Markdown {content} /> closing parent tag (#575) 2021-06-29 15:33:56 -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
package.json Fix changesets action (#576) 2021-06-29 11:05:33 -05:00
README.md Restructure examples (#568) 2021-06-28 10:46:10 -05:00

Astro 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.