Description
The heading rule (section title should be preceded by a blank line) triggers on content inside AsciiDoc source code blocks ([source,asciidoc] with ---- delimiters).
Steps to Reproduce
Given this AsciiDoc file:
Some text before:
[source,asciidoc]
----
=== S-01: Buchung manuell erfassen
Status:: Offen
----
Running asciidoc-linter file.adoc reports:
✗ file.adoc, line 5: Section title should be preceded by a blank line
Expected Behavior
Content inside ---- delimited blocks should be skipped by all rules, since it is literal/source content, not actual AsciiDoc structure.
Actual Behavior
The linter parses === S-01: inside the code block as a real section title and flags it.
Environment
- asciidoc-linter 0.1.0 (installed from git main branch)
Description
The heading rule (section title should be preceded by a blank line) triggers on content inside AsciiDoc source code blocks (
[source,asciidoc]with----delimiters).Steps to Reproduce
Given this AsciiDoc file:
Running
asciidoc-linter file.adocreports:Expected Behavior
Content inside
----delimited blocks should be skipped by all rules, since it is literal/source content, not actual AsciiDoc structure.Actual Behavior
The linter parses
=== S-01:inside the code block as a real section title and flags it.Environment