Skip to content
Discussion options

You must be logged in to vote

It's the indentation of the closing tag, not the list itself. Your error says the list item starts at column 1 (listItem (47:1)), so in the actual file the list isn't indented. For a - item the content starts 2 columns in, so </TabItem> (2 spaces) counts as a continuation of the last list item, and MDX can't close the JSX tag inside it. That's also why adding just a blank line doesn't help, but adding another element after the list does.

Either put the closing tag at column 1:

<TabItem value="commits-query" label="_commits query">
- `cid` &ndash; Unique identifier of a commit.
- `depth` &ndash; Position within the chain of commits this one commit is located at.
</TabItem>

or indent the l…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by remcohaszing
Comment options

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