// add classes for code-block-filename styling $('.rst-content pre') .prev('blockquote') .addClass('code-block-filename'); var tabConversionIterations = 0 // convert tab admonition to tabs while (true) { const firstTab = $('.rst-content .admonition.tab').first() if (firstTab.length == 0) break; const otherTabs = firstTab.nextUntil(':not(.admonition.tab)'); const allTabs = $($.merge($.merge([], firstTab), otherTabs)); const tabContainer = $('