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

spacing false positive #803

Open
alok opened this issue Jun 13, 2018 · 1 comment
Open

spacing false positive #803

alok opened this issue Jun 13, 2018 · 1 comment
Labels
status: awaiting-triage Issues and PRs awaiting investigation and relabelling.

Comments

@alok
Copy link

alok commented Jun 13, 2018

I use pandoc to prettify markdown (via pandoc -f markdown -t markdown) and it puts 2 spaces after ordered lists to follow a 4 space indent rule. Proselint thinks this is an error. At least in the case where the ordered list is separated from the rest of the text by newlines, this may be worth detecting.

@compor
Copy link

compor commented Jun 19, 2018

I have the same issue. I use remark-cli to reformat markdown and I get a false positive for ordered list elements because they start with 2 spaces, e.g.

1.  An item.

This triggers the consistency.spacing check.

I had a very brief look at the source code, and it seems that there is no notion of markdown constructs (and no attempt to parse them). Am I correct? If this is true, will it require considerable effort to address?

@Nytelife26 Nytelife26 added the status: awaiting-triage Issues and PRs awaiting investigation and relabelling. label May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting-triage Issues and PRs awaiting investigation and relabelling.
Projects
None yet
Development

No branches or pull requests

3 participants