Skip to main content

Table of components

MDXProvideruses React Context to provide the component mapping internally to MDX when it renders. The following components are rendered from Markdown, so these can be keys in the component object you pass to MDXProvider.

TagNameSyntax
pParagraph
h1Heading 1#
h2Heading 2##
h3Heading 3###
h4Heading 4####
h5Heading 5#####
h6Heading 6######
blockquoteBlockquote>
ulList-
olOrdered list1.
liList item
tableTable
theadTable head
tbodyTable body
trTable row
td/thTable cell
codeCode```code```
inlineCodeInlineCode`inlineCode`
preCode```code```
emEmphasis_emphasis_
strongStrong**strong**
delDelete~~strikethrough~~
hrThematic break--- or ***
aLink<https://mdxjs.com> or [MDX](https://mdxjs.com)
imgImage![alt](https://mdx-logo.now.sh)