From a53d4cb2b382cb8dcbeaae9020314ce0f7775a1a Mon Sep 17 00:00:00 2001 From: Mikey O'Toole Date: Thu, 19 Jan 2023 13:39:07 +0000 Subject: [PATCH] docs: document plugin-content-pages wrapperClassName frontmatter. (#8556) --- website/docs/api/plugins/plugin-content-pages.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/api/plugins/plugin-content-pages.mdx b/website/docs/api/plugins/plugin-content-pages.mdx index 1be21f3b37..eaefe2ff8d 100644 --- a/website/docs/api/plugins/plugin-content-pages.mdx +++ b/website/docs/api/plugins/plugin-content-pages.mdx @@ -93,6 +93,7 @@ Accepted fields: | --- | --- | --- | --- | | `title` | `string` | Markdown title | The blog post title. | | `description` | `string` | The first line of Markdown content | The description of your page, which will become the `` and `` in ``, used by search engines. | +| `wrapperClassName` | `string` | Class name to be added to the wrapper element to allow targeting specific page content. | | `hide_table_of_contents` | `boolean` | `false` | Whether to hide the table of contents to the right. | | `draft` | `boolean` | `false` | Draft pages will only be available during development. | | `unlisted` | `boolean` | `false` | Unlisted pages will be available in both development and production. They will be "hidden" in production, not indexed, excluded from sitemaps, and can only be accessed by users having a direct link. | @@ -107,6 +108,7 @@ Example: --- title: Markdown Page description: Markdown page SEO description +wrapperClassName: markdown-page hide_table_of_contents: false draft: true ---