Second and further tabs of tabbed content are missed in PDF
DocFX Version Used: 2.39.2.0 (reproducable at 2.40.2.0 as well)
Template used:
pdf.default
Steps to Reproduce:
- Create markdown page with tabbed content
- Render it to PDF
Expected Behavior: All tabs are visible in PDF as subsections, just as with renderer which has no tabbed content in markdown support (e.g. Github, Gitlab or Microsoft TFS wiki engines).
Actual Behavior:
- Only first tab is visible in PDF, and other are "hidden" by HTML attribute (I've noticed it by inspecting HTML produced with
keepRawFiles). - All titles of tabs are printed above the only visible tab content section.
Workaround:
I used following CSS rule to enforce rendering of tab content, but it is still misspositioned (all <li>-titles are going first, then all content <section>'s are going).
section[role="tabpanel"] {
display: block !important;
}
Also attaching minimal reproducible example (ZIP).
The main question is: can I (or possibly, docfx defaults) somehow disable rendering tabs feature in PDF version of a document? It seems to me as the most adequate solution of the problem.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
It seems latest version of docfx (v2.76.0) seems not output tabbed content entirely.