astro/packages/markdown/component/test/fixtures/astro-markdown/src/pages/scopedStyles-code.astro
Matthew Phillips bccd88f0eb
Move the Markdown component to its own package (#3986)
* Move the Markdown component to its own package

* Update the examples

* Updated lockfile

* Use is:raw

* Add a main field

* Update the formatting of the readme

* Rename to @astrojs/markdown-component
2022-07-20 16:45:05 -04:00

21 lines
292 B
Text

---
import Markdown from '@astrojs/markdown-component';
import Layout from '../layouts/content.astro';
---
<style>
#root {
color: green;
}
</style>
<Layout>
<div id="root">
<Markdown>
## Interesting Topic
```js
const thing = () => {};
```
</Markdown>
</div>
</Layout>