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

Introduce a warning for forgotten Backticks #1053

Open
Alagts opened this issue Jul 28, 2024 · 1 comment
Open

Introduce a warning for forgotten Backticks #1053

Alagts opened this issue Jul 28, 2024 · 1 comment

Comments

@Alagts
Copy link

Alagts commented Jul 28, 2024

Feature request

To increase the possibility to find forgotten backticks (during local rendering or before someone is going to push new changes) like in here :file:`.rst.txt' we can build in a check that examines if the number of all backticks in a rst file is even. It is clear that two forgotten backticks make the number even again. Maybe we can catch it somehow. And we have to do it in the rst parser in order to exclude backticks in code blocks , comments and everywhere else where it could spoil the calculated number of backticks.

@garvinhicking
Copy link
Contributor

We may also need to exclude escaped backticks like \` for some more false negatives. I like this idea!

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

2 participants