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 linter not working #217

Open
SnoCold opened this issue Feb 25, 2023 · 1 comment
Open

Markdown linter not working #217

SnoCold opened this issue Feb 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@SnoCold
Copy link

SnoCold commented Feb 25, 2023

Hello, apologies for raising another issue,
I converted your example.tex file to markdown using pandoc and tried running the jar on it, but it gave zero errors

Could you please show a sample markdown document where the linter works? I could be doing something wrong

Here is the markdown
example.md

PS C:\Users\91846\Documents\GitHub\CloudCICDDocs> java -jar .\textidote.jar --type md .\example.md      
TeXtidote v0.8.2 - A linter for LaTeX documents and others
(C) 2018-2021 Sylvain HallΘ - All rights reserved

Found 0 warning(s)
Total analysis time: 0 second(s)

Everything is OK!
PS C:\Users\91846\Documents\GitHub\CloudCICDDocs> 
@sylvainhalle
Copy link
Owner

This is caused by the fact that there are currently no linting rules associated to Markdown files; the following method is empty:

protected static void populateMarkdownRules(Linter linter)

However, the file is still processed; for example if you enable grammar checking (--check en) it will report errors.

So we would need to define linting rules specific to the MD format.

@sylvainhalle sylvainhalle added the enhancement New feature or request label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants