mdbook/tests/testsuite/print/chapter_no_h1/expected/print.html
Eric Huss 03443f723c Add more comprehensive tests for HTML rendering
This adds a bunch of tests to better exercise the HTML rendering and to
be able to track any changes in its behavior.

This includes a new `check_all_main_files` to more conveniently check
the HTML content of every chapter in a book.
2025-09-16 14:07:54 -07:00

5 lines
No EOL
415 B
HTML

<h1 id="chapter-1"><a class="header" href="#chapter-1">Chapter 1</a></h1>
<p>See <a href="chapter_2.html">chapter 2</a>.</p>
<div style="break-before: page; page-break-before: always;"></div><p>See <a href="./chapter_2.html">this</a>.</p>
<div style="break-before: page; page-break-before: always;"></div><h2 id="h2-instead"><a class="header" href="#h2-instead">H2 instead</a></h2>
<p>This has H2 instead of H1.</p>