Skip to content

Conversation

@rdmueller
Copy link
Member

@rdmueller rdmueller commented Mar 3, 2025

Related to #18

Update WhitespaceRule to account for attributes and roles around section titles.

  • Modify check_line method in asciidoc_linter/rules/whitespace_rules.py to handle attributes and roles.
  • Add tests in tests/rules/test_heading_rules.py for attributes and roles around section titles.
    • Include tests for headings followed by attributes.
    • Include tests for headings preceded by roles.

For more details, open the Copilot Workspace session.

Related to #18

Update `WhitespaceRule` to account for attributes and roles around section titles.

* Modify `check_line` method in `asciidoc_linter/rules/whitespace_rules.py` to handle attributes and roles.
* Add tests in `tests/rules/test_heading_rules.py` for attributes and roles around section titles.
  * Include tests for headings followed by attributes.
  * Include tests for headings preceded by roles.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/docToolchain/asciidoc-linter/issues/18?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants