Skip to content

docs: fix MDX parse error in query/quickstart#28848

Closed
alan707 wants to merge 1 commit intobazelbuild:masterfrom
alan707:fix/quickstart-mdx-accordion
Closed

docs: fix MDX parse error in query/quickstart#28848
alan707 wants to merge 1 commit intobazelbuild:masterfrom
alan707:fix/quickstart-mdx-accordion

Conversation

@alan707
Copy link
Contributor

@alan707 alan707 commented Mar 2, 2026

Problem

docs/query/quickstart.mdx fails to parse with Mintlify (and standard MDX parsers) due to multi-line <p> elements inside <Accordion> JSX components:

Expected a closing tag for `<p>` before the end of `paragraph`

In MDX, a <p> tag whose content wraps to the next line is treated as ending at the first line break, before the closing </p> tag is seen.

Fix

Remove the <p> wrapper elements from the three <Accordion> blocks. MDX handles paragraph formatting automatically inside JSX components.

@fweikert fweikert added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally team-Documentation Documentation improvements that cannot be directly linked to other team labels and removed awaiting-review PR is awaiting review from an assigned reviewer labels Mar 2, 2026
@copybara-service copybara-service bot closed this in 4855d81 Mar 2, 2026
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Documentation Documentation improvements that cannot be directly linked to other team labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants