Skip to content

Commit

Permalink
fix(mdx-loader):ensure heading anchor slugs respect GitHub emoji beha…
Browse files Browse the repository at this point in the history
…vior
  • Loading branch information
YosukeKato authored and YosukeKato committed Aug 5, 2023
1 parent 109ab0c commit 9694a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-mdx-loader/src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type SimpleProcessor = {
const DEFAULT_OPTIONS: MDXOptions = {
admonitions: true,
rehypePlugins: [],
remarkPlugins: [emoji, headings, toc],
remarkPlugins: [headings, emoji, toc],
beforeDefaultRemarkPlugins: [],
beforeDefaultRehypePlugins: [],
};
Expand Down

0 comments on commit 9694a26

Please sign in to comment.