Skip to content

Commit

Permalink
Merge pull request #165 from onflow/bastian/remove-callout-and-admoni…
Browse files Browse the repository at this point in the history
…tion

Remove Callout and Admonition mapping
  • Loading branch information
briandoyle81 authored Oct 21, 2024
2 parents 90d7b4c + 028c5e5 commit 7079a21
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/theme/MDXComponents.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Import the original mapper
import MDXComponents from '@theme-original/MDXComponents';
import Admonition from '@theme/Admonition';

export default {
// Re-use the default mapping
...MDXComponents,
// Map the "<Highlight>" tag to our Highlight component
// `Highlight` will receive all props that were passed to `<Highlight>` in MDX
Callout: Admonition,
Admonition,
...MDXComponents
};

0 comments on commit 7079a21

Please sign in to comment.