Repository navigation
v3.22.1
Patch release with two extraction fixes.
Fixed
- Code blocks in
<pre>without<code>are fenced (#110, #111). Sphinx/Pygments documentation and rendered GitHub READMEs put code in a bare<pre>, which came out as loose lines: a# commentbecame a heading. Such blocks are now fenced, with the language taken from the markup (language-x,lang-x,highlight-x,highlight-source-x). Fenced blocks on the Readability path also keep their language now; it was dropped even for<pre><code class="language-x">. - Content sections wrapped in
<header>are kept (#109). Some page builders put whole content sections into<header>elements inside<main>; PullMD removed every<header>and returned only a fraction of such pages. A header whose nearest sectioning element is<main>or<section>now stays. The site banner and article headers are still removed.
No configuration changes. Update pullmd only; the sidecars are unchanged.