chore: add mdc example

This commit is contained in:
Nate Moore 2021-07-09 11:20:06 -05:00
parent 5ec4947a82
commit 2d99baee53
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,5 @@
export default {
markdownOptions: {
components: './src/components/index.tsx'
}
}

View file

@ -0,0 +1 @@
export { default as PreactCounter } from './PreactCounter.tsx';

View file

@ -0,0 +1,12 @@
---
title: Some Markdown Page
layout: ../layouts/main.astro
---
# Paragraph
text here.
<PreactCounter client:visible />
Hello world!