mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
3a4dc9e0a7
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit
|
||
---|---|---|
.. | ||
public | ||
src | ||
.gitignore | ||
.npmrc | ||
.stackblitzrc | ||
astro.config.mjs | ||
package.json | ||
README.md | ||
sandbox.config.json | ||
tsconfig.json |
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 alayout
.