We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651d6b4 commit 749800dCopy full SHA for 749800d
jupyter_book_to_htmlbook/text_processing.py
@@ -72,6 +72,6 @@ def process_sidebars(chapter):
72
73
if aside.find("p", class_="sidebar-title"):
74
title = aside.find("p", class_="sidebar-title")
75
- title.name = "h5"
+ title.name = "h1"
76
77
return chapter
tests/test_text_processing.py
@@ -96,4 +96,4 @@ def test_sidebar_processing():
96
</aside>""", "html.parser")
97
process_sidebars(chapter_text)
98
assert chapter_text.find("aside")["data-type"] == "sidebar"
99
- assert chapter_text.find("h5").string == "Here Is a Sidebar Title"
+ assert chapter_text.find("h1").string == "Here Is a Sidebar Title"
0 commit comments