From 39a40017624969644d7a777216add3ad0b5d100e Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Thu, 25 Jan 2024 21:27:16 +0900 Subject: 名称の変更 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docusaurus.config.js') 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: { -- cgit v1.2.3-54-g00ecf