diff options
-rw-r--r-- | docusaurus.config.js | 8 |
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/', |