<TabItems> Renders Anything But Text as a Code Block? #5500
Answered
by
Josh-Cena
nategoethel
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Josh-Cena
Sep 7, 2021
Replies: 1 comment 2 replies
-
|
You shouldn't have indented your text. Per Markdown spec, any indented text blocks become code blocks, and JSX-interleaved syntax is not exempted from this. <Tabs groupId="views">
<TabItem value="chat" label="Chat" default>
You can load data from a file you've uploaded by entering Load data from the file file name.
</TabItem>
<TabItem value="sheets" label="Sheets">
To load data into your session:
1. Example Step 1.
2. Example Step 2
3. Example Step 3
1. a
2. b
3. c
</TabItem>
<TabItem value="search" label="Search">
This is a banana
</TabItem>
</Tabs>It looks ugly, I know, but it's the only correct way. Maybe we should document this better? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nategoethel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


You shouldn't have indented your text. Per Markdown spec, any indented text blocks become code blocks, and JSX-interleaved syntax is not exempted from this.
It looks ugly, I know, but it's the only correct way. Maybe we should document this better?