Lint directives are invisible in rendered content
Carve lint comments control findings without changing the document's HTML.
Generated from resources/examples/edge-cases.md - edit the cases there, not here. Each case links the conformance fixture it produces.
Lint directives are invisible in rendered content
4 conformance fixtures
The carve-lint line comments control diagnostics for their source lines. They leave the parsed document and HTML unchanged.
carve
%% carve-lint-disable empty-link-destination
[x]()html
<p><a href="">x</a></p>carve
# One
### Three %% carve-lint-disable-line heading-level-skiphtml
<section id="One">
<h1>One</h1>
<section id="Three">
<h3>Three</h3>
</section>
</section>carve
::: >
%% carve-lint-disable empty-link-destination
[x]()
:::html
<blockquote><p><a href="">x</a></p></blockquote>carve
%% carve-lint-disable unused-link-reference-definition
body
[r]: /uhtml
<p>body</p>