Skip to content

How do I convert the old .md format to the new .mdx #11

Answered by enyo
enyo asked this question in Q&A
Discussion options

You must be logged in to vote

Tabs

Before

=== "Tab 1"

    Tab 1 content

=== "Tab 2"

    Tab 2 content

After

<Tabs>
<Tab label="Tab 1">

Tab 1 content

</Tab>
<Tab label="Tab 2">

Tab 2 content

</Tab>
</Tabs>

Notes

Before

!!! note "Troubleshooting"
If you have trouble connecting your ESP32 via a serial port to your computer, have a look in the section about serial port troubleshooting for help.

After

<Note>
If you have trouble connecting your ESP32 via a serial port to your computer, have a look in the section about serial port troubleshooting for help.
</Note>

or: <Note type="warning">

Code Blocks

Remove all the <div class="toit">.....</div> html tags. By default all code blocks in the new documentation page a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by enyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant