|
From: Guenter M. <mi...@us...> - 2021-05-22 21:56:12
|
On 2021-05-22, Alan G. Isaac wrote: > If I run the example at > https://rst2html5.readthedocs.io/en/latest/README.html#example > I do not see the documented output. Please be aware, that the "rst2html5" documented here is a 3rd-party project, not Docutils' html5 writer! (cf. https://rst2html5.readthedocs.io/en/latest/authors.html) > Instead, I see the h1 elements demoted to h2, which is unwanted > Removing the second title produces the expected output. > I'm using an up to date docutils (revision 8757). This is an intended and documented change: - Change the `initial_header_level`_ setting's default to "2", as browsers use the `same style for <h1> and <h2> when nested in a section`__. .. _initial_header_level: docs/user/config.html#initial-header-level __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article --- RELEASE-NOTES.txt Günter |