Skip to content

Commit

Permalink
docs: add example for disabling and enabling rules with single-line c…
Browse files Browse the repository at this point in the history
…omments
  • Loading branch information
3w36zj6 committed Oct 10, 2024
1 parent fe4fc57 commit 1d07a91
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,21 @@ Disables all rules between comments
This is error text.
```

Also, you can use single-line comments.

```typst
This is error text.
// textlint-disable
This is ignored text by rule.
Disables all rules between comments
// textlint-enable
This is error text.
```

## Contributing

This project is still under development, so please feel free to contribute!
Expand Down

0 comments on commit 1d07a91

Please sign in to comment.