Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I know you rejected the enhancement request for this so its unlikely to make it in, but I thought I’d offer it anyway.
This adds an option to use <code><pre> for code blocks, since the recommended way to mark up a code block (both is a <pre> element with a <code> element inside, like so:
<pre><code class="language-css">p { color: red }</code></pre>
I also add a line numbers class in pre for utilities such as prism that respect this. I’ve not made this optional but obviously could do.
I’ve tried to make the changes very minimal and obvious.
If you do want to incorporate the changes I can make the necessary mods to the docs as well.
I shared my copy of the verification document (here, but only you have access, not random passers-by)