aboutsummaryrefslogtreecommitdiff
path: root/docusaurus.config.js
diff options
context:
space:
mode:
author安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-25 21:27:16 +0900
committer安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com>2024-01-25 21:27:16 +0900
commit39a40017624969644d7a777216add3ad0b5d100e (patch)
treee31a03ab72e088274590a1577c7e2ad542883bea /docusaurus.config.js
parentdfe27f0d47dc7244a65c2e3dbf1f21005e880895 (diff)
名称の変更
Diffstat (limited to 'docusaurus.config.js')
-rw-r--r--docusaurus.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 03d5572b..1d0332ed 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -5,8 +5,8 @@
// See: https://docusaurus.io/docs/api/docusaurus-config
import {themes as prismThemes} from 'prism-react-renderer';
-import admonitionTitleToHeading from './src/rehype/admonition-title-to-heading.js';
import admonitionTitleToHeadingBeforeTOC from './src/remark/admonition-title-to-heading-before-toc.js';
+import admonitionTitleToHeadingAfterTOC from './src/rehype/admonition-title-to-heading-after-toc.js';
/** @type {import('@docusaurus/types').Config} */
const config = {
@@ -59,7 +59,7 @@ const config = {
//remarkPlugins: [sectionPrefix],
//beforeDefaultRehypePlugins: [admonitionTitleToHeadingBeforeTOC],
beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],
- rehypePlugins: [admonitionTitleToHeading],
+ rehypePlugins: [admonitionTitleToHeadingAfterTOC],
},
blog: false,
theme: {