Nikolaos Chatzikonstantinou <nchatz...@gmail.com> writes: > Shouldn't the source blocks be using the <code> element? > > This patch is untested, I can pay more attention to it if first the > maintainer(s) agree with my opinion. I thought the <code> tag is good > for semantics.
This makes sense in the light of the HTML spec for `code': https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element BTW, the example puts the `class' on `code' and not `pre': <pre><code class="language-pascal">var i: Integer; begin i := 1; end.</code></pre> Further, `code' is supported in the older HTML 4 too: https://www.w3.org/TR/html4/struct/text.html#edef-CODE Rudy -- "'Obvious' is all too often a synonym for 'wrong'." --- Jeff Erickson, Algorithms, 2019 Rudolf Adamkovič <rud...@adamkovic.org> [he/him] http://adamkovic.org