Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Markdown] Spellcheck: should ignore code block with indentation #147

Open
xiaogaozi opened this issue Feb 15, 2023 · 1 comment
Open

[Markdown] Spellcheck: should ignore code block with indentation #147

xiaogaozi opened this issue Feb 15, 2023 · 1 comment

Comments

@xiaogaozi
Copy link

xiaogaozi commented Feb 15, 2023

For example the spellcheck rule in .autocorrectrc is:

spellcheck:
  words:
    - hello = world

When the code block doesn't have indentation, the spellcheck will ignore it:

```
hello  # won't be replaced to "world"
```

But if it has indentation, the spellcheck will report error:

  ```
  hello  # will be replaced to "world"
  ```

The autocorrect version is 2.6.2

@Edit-Mr
Copy link

Edit-Mr commented Nov 3, 2024

Is this problem fixed? seems like I'm facing similar problems.
圖片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants