Commit 48179a0
Fix nested tab indentation in response templates (pymdownx regression)
After issue #35 introduced a response-code tab wrapper (=== "200 OK"),
content-type tabs became doubly nested. The `{% include
"partial/content-examples.html" %}` directive inside the 8-space
content-type tab context rendered at column 0, breaking the indentation
chain so that subsequent `??? hint` admonition blocks were not
recognised as belonging to the tab content.
Fix: inline the content-examples rendering directly in
request-responses.html with proper 8-space indentation so all content
(code blocks, warnings, admonitions) sits correctly inside the nested
tab structure.
Regenerated snapshots for example1–example4-split.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7b2f591 commit 48179a0
5 files changed
Lines changed: 1295 additions & 1288 deletions
File tree
- openapidocs/mk/v3/views_mkdocs/partial
- tests/res
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments