diff --git a/docs/content/0.index.md b/docs/content/0.index.md index bb841de3..da8aeaf3 100644 --- a/docs/content/0.index.md +++ b/docs/content/0.index.md @@ -1,16 +1,15 @@ --- title: Home -description: MDC stands for MarkDown Components. This syntax supercharges regular Markdown to write documents interacting deeply with any Vue component +description: MDC stands for Markdown Components. This syntax supercharges regular Markdown to write documents interacting deeply with any Vue component --- # Nuxt MDC -MDC stands for MarkDown Components. This syntax supercharges regular Markdown to write documents interacting deeply with any Vue component. +MDC stands for Markdown Components. This syntax supercharges regular Markdown to write documents interacting deeply with any Vue component. ## Setup - -Add `nuxt-mdc` dependency to your project: +Add the `nuxt-mdc` dependency to your project: ::code-group ```bash [Yarn] @@ -32,7 +31,7 @@ export default defineNuxtConfig({ }) ``` -That's it, you can start writing and rendering markdown files ✨ +That's it! You can start writing and rendering markdown files ✨ ## Live Demo @@ -40,9 +39,9 @@ That's it, you can start writing and rendering markdown files ✨ ## Parsing Markdown -Nuxt MDC exposes a handy helper to parse MDC files. You can import `parseMarkdown` function from `nuxt-mdc/runtime` and use it to parse markdown files written with MDC syntax. +Nuxt MDC exposes a handy helper to parse MDC files. You can import the `parseMarkdown` function from `nuxt-mdc/runtime` and use it to parse markdown files written with MDC syntax. -### Nodejs +### Node.js ```ts [/server/api/parse-mdc.ts] import { parseMarkdown } from 'nuxt-mdc/runtime' @@ -64,7 +63,7 @@ export default eventHandler(async () => { ### Browser -`parseMarkdown` function is universal helper and you can also use it in browser. For example inside a Vue component. +The `parseMarkdown` function is a universal helper, and you can also use it in the browser, for example inside a Vue component. ```vue [mdc-test.vue]