We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca4fb5 commit aa7d81dCopy full SHA for aa7d81d
packages/docusaurus-theme-classic/src/theme/MDXComponents/Code.tsx
@@ -13,15 +13,35 @@ import type {Props} from '@theme/MDXComponents/Code';
13
export default function MDXCode(props: Props): JSX.Element {
14
const inlineElements: (string | undefined)[] = [
15
'a',
16
+ 'abbr',
17
'b',
- 'big',
18
+ 'br',
19
+ 'button',
20
+ 'cite',
21
+ 'code',
22
+ 'del',
23
+ 'dfn',
24
+ 'em',
25
'i',
26
+ 'img',
27
+ 'input',
28
+ 'ins',
29
+ 'kbd',
30
+ 'label',
31
+ 'object',
32
+ 'output',
33
+ 'q',
34
+ 'ruby',
35
+ 's',
36
+ 'small',
37
'span',
- 'em',
38
'strong',
- 'sup',
39
'sub',
- 'small',
40
+ 'sup',
41
+ 'time',
42
+ 'u',
43
+ 'var',
44
+ 'wbr',
45
];
46
const shouldBeInline = React.Children.toArray(props.children).every(
47
(el) =>
0 commit comments