Skip to content

Fix request body and response tabs merging into one tab group#76

Merged
RobertoPrevato merged 1 commit intomainfrom
fix/pymdownx-issues1
Mar 7, 2026
Merged

Fix request body and response tabs merging into one tab group#76
RobertoPrevato merged 1 commit intomainfrom
fix/pymdownx-issues1

Conversation

@RobertoPrevato
Copy link
Member

pymdownx.tabbed treats consecutive === blocks separated by only whitespace as a single tab group. After issue #35, the content-type tabs in request-body and the response-code tabs in request-responses were both at column 0 with only blank lines between them, causing them to merge into one tab group.

Fix: add a

heading before the responses tab loop in request-responses.html. This provides a non-tab line that breaks the tab group chain, keeping request body tabs and response tabs separate.

pymdownx.tabbed treats consecutive === blocks separated by only whitespace
as a single tab group. After issue #35, the content-type tabs in request-body
and the response-code tabs in request-responses were both at column 0 with
only blank lines between them, causing them to merge into one tab group.

Fix: add a <p class="responses-title"> heading before the responses tab
loop in request-responses.html. This provides a non-tab line that breaks
the tab group chain, keeping request body tabs and response tabs separate.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@RobertoPrevato RobertoPrevato merged commit fda4c0e into main Mar 7, 2026
6 checks passed
@RobertoPrevato RobertoPrevato deleted the fix/pymdownx-issues1 branch March 7, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant