diff options
-rw-r--r-- | docusaurus.config.js | 4 |
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: { |