aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-27 01:23:49 +0900
committer安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-27 01:23:49 +0900
commit05714f08e06ea66b44de9ac72404f9f7859e36e5 (patch)
tree0acff3c97dada63d2c924c8f7a1591e40e03b432
parentffad3d9a9df265d2a1ef8d36bf326fc857caec7d (diff)
blogにもプラグイン登録
-rw-r--r--docusaurus.config.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index a0aae9ad..570112a1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -56,8 +56,7 @@ const config = {
// Remove this to remove the "edit this page" links.
//editUrl:
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
- //remarkPlugins: [sectionPrefix],
- //beforeDefaultRehypePlugins: [admonitionTitleToHeadingBeforeTOC],
+
beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],
rehypePlugins: [admonitionTitleToHeadingAfterTOC],
},
@@ -67,6 +66,9 @@ const config = {
postsPerPage: 'ALL',
blogSidebarTitle: '全記事',
blogSidebarCount: 'ALL',
+
+ beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],
+ rehypePlugins: [admonitionTitleToHeadingAfterTOC],
},
theme: {
customCss: './src/css/custom.css',
@@ -116,7 +118,7 @@ const config = {
{
to: 'blog',
position: 'left',
- label: '技術ブログ',
+ label: 'ふらっとブログ',
},
{
href: 'https://cgit.yasutakeyohei.com/',