diff --git a/examples/astro/src/pages/codehike.mdx b/examples/astro/src/pages/codehike.mdx new file mode 100644 index 00000000..02907fb8 --- /dev/null +++ b/examples/astro/src/pages/codehike.mdx @@ -0,0 +1,14 @@ +import "@code-hike/mdx/styles.css" +import { CH } from "@code-hike/mdx/components" + +# Hello + +Lorem ipsum dolor sit amet. + + +```python hello.py mark=1[22:30] +print("Rendered with Code Hike") +``` + + +Lorem ipsum dolor sit amet. diff --git a/examples/astro/src/pages/index.astro b/examples/astro/src/pages/index.astro index 48678753..eebc804f 100644 --- a/examples/astro/src/pages/index.astro +++ b/examples/astro/src/pages/index.astro @@ -1,96 +1,81 @@ --- -import Layout from '../layouts/Layout.astro'; -import Card from '../components/Card.astro'; +import Layout from "../layouts/Layout.astro" +import Card from "../components/Card.astro" --- -
-

Welcome to Astro

-

- Check out the src/pages directory to get started.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

- -
+
+

Welcome to Astro

+

+ Check out the src/pages directory to get started.
+ Code Challenge: Tweak the "Welcome to Astro" message above. +

+ +