From a72a1dbda15006673756dd23856536fef6ab7423 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Wed, 1 Mar 2023 14:27:07 -0500 Subject: [PATCH] chore: with-markdoc filetree --- examples/with-markdoc/README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/examples/with-markdoc/README.md b/examples/with-markdoc/README.md index 9d58b2622..b81a5a557 100644 --- a/examples/with-markdoc/README.md +++ b/examples/with-markdoc/README.md @@ -19,18 +19,27 @@ Inside of your Astro project, you'll see the following folders and files: / ├── public/ ├── src/ -│ └── content/docs/ -│ └── intro.mdoc +│ └── content/ + └── docs/ +│ └── intro.mdoc +| └── config.ts │ └── components/ +| ├── Aside.astro │ └── DocsContent.astro +│ └── layouts/ +│ └── Layout.astro │ └── pages/ │ └── index.astro -└── package.json +| └── env.d.ts +├── astro.config.mjs +├── README.md +├── package.json +└── tsconfig.json ``` Markdoc can be used in content collections with the `.mdoc` extension. See `content/docs/` for an example. -You can also apply Astro components and server-rendered UI components (React, Vue, Svelte, etc) to your Markdoc files. See `src/content/DocsContent.astro` for an example configuration. +You can also apply Astro components and server-rendered UI components (React, Vue, Svelte, etc) to your Markdoc files. See `src/content/DocsContent.astro` for an example. ## 🧞 Commands