Skip to content

Commit 4384b26

Browse files
authored
feat(theme): add MDXComponents/Li to swizzle config (#11635)
1 parent 5bc5c90 commit 4384b26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/docusaurus-theme-classic/src/getSwizzleConfig.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,13 @@ export default function getSwizzleConfig(): SwizzleConfig {
368368
description:
369369
'The component used to render <img> tags and Markdown images in MDX',
370370
},
371+
'MDXComponents/Li': {
372+
actions: {
373+
eject: 'safe',
374+
wrap: 'safe',
375+
},
376+
description: 'The component used to render <li> tags in MDX',
377+
},
371378
'MDXComponents/Pre': {
372379
actions: {
373380
eject: 'safe',

0 commit comments

Comments
 (0)