From 02eba87a28b808d192b27c591be7dae256195e89 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Tue, 6 Jun 2023 14:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .remarkrc.js | 2 ++ docs/changelog.md | 6 ++---- docs/index.md | 14 +++++--------- package.json | 2 ++ 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.remarkrc.js b/.remarkrc.js index 953c0e49..a513a7b9 100644 --- a/.remarkrc.js +++ b/.remarkrc.js @@ -1,5 +1,7 @@ module.exports = { plugins: [ + 'remark-frontmatter', + 'remark-lint-frontmatter-schema', 'remark-preset-lint-recommended', ['remark-lint-list-item-indent', 'space'], ['remark-lint-no-literal-urls', false], diff --git a/docs/changelog.md b/docs/changelog.md index 52793c80..96ffa783 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,10 +1,8 @@ --- - title: Changelog nav: -title: Changelog -order: 999 - + title: Changelog + order: 999 --- diff --git a/docs/index.md b/docs/index.md index 6e1ba431..7409e884 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,12 +1,8 @@ --- - hero: -title: Lobe UI -description: Lobe UI is an open-source UI component library for building chatbot web apps -actions: -text: Get Started -link: /components - + title: Lobe UI + description: Lobe UI is an open-source UI component library for building chatbot web apps + actions: + text: Get Started + link: /components --- - - diff --git a/package.json b/package.json index 2faa5b6a..2669433a 100644 --- a/package.json +++ b/package.json @@ -138,7 +138,9 @@ "react-dom": "^18", "remark": "^14", "remark-cli": "^11", + "remark-frontmatter": "^4", "remark-lint": "^9", + "remark-lint-frontmatter-schema": "^3", "remark-lint-list-item-indent": "^3", "remark-preset-lint-recommended": "^6", "remark-toc": "^8",