57b0c170e8
* Fixes many Errors related to typescript Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403. Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969. * change typescript default moduleresolution in examples see #403 |
||
---|---|---|
.. | ||
public/styles | ||
src | ||
.gitignore | ||
.npmrc | ||
package.json | ||
README.md | ||
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
.