From d3cb748a8d3da9f6f131bbd11e9da5e800366b4b Mon Sep 17 00:00:00 2001
From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Date: Sun, 18 Feb 2024 01:06:57 +0530
Subject: [PATCH] rename option to markdownStyles
---
docs/reference/default-theme-home-page.md | 10 ++++------
src/client/theme-default/components/VPHome.vue | 2 +-
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/docs/reference/default-theme-home-page.md b/docs/reference/default-theme-home-page.md
index 99995563..f7baecca 100644
--- a/docs/reference/default-theme-home-page.md
+++ b/docs/reference/default-theme-home-page.md
@@ -167,9 +167,9 @@ type FeatureIcon =
}
```
-## Extra homepage content
+## Markdown Content
-You can add additional content to your site's homepage just by adding additional Markdown content below the `---` frontmatter divider.
+You can add additional content to your site's homepage just by adding Markdown below the `---` frontmatter divider.
````md
---
@@ -180,7 +180,7 @@ hero:
text: Vite & Vue powered static site generator.
---
-## Getting started
+## Getting Started
You can get started using VitePress right away using `npx`!
@@ -191,7 +191,5 @@ npx vitepress init
````
::: info
-
-VitePress didn't always auto-style the extra content of the `layout: home` page. To disable the new auto-styling specify `homeDocs: false` in the frontmatter.
-
+VitePress didn't always auto-style the extra content of the `layout: home` page. To revert to older behavior, you can add `markdownStyles: false` to the frontmatter.
:::
diff --git a/src/client/theme-default/components/VPHome.vue b/src/client/theme-default/components/VPHome.vue
index bec5c52f..445ff316 100644
--- a/src/client/theme-default/components/VPHome.vue
+++ b/src/client/theme-default/components/VPHome.vue
@@ -23,7 +23,7 @@ const { frontmatter } = useData()
-
+