node-markdown-spellcheck icon indicating copy to clipboard operation
node-markdown-spellcheck copied to clipboard

New ignore option --ignore-code

Open davidhrbac opened this issue 9 years ago • 2 comments

Would it be possible to to ignore code blocks within the MD file?

Code block might be one line `code` - this might be easy to implement.

There is also multi line code:

```bash
codeline
codeline
```

As you can see there might up to 4 backticks. This might be tricky.

davidhrbac avatar Jan 24 '17 14:01 davidhrbac

Well, maybe it's not necessary since to code block is excluded from the test right now as seen at https://github.com/lukeapage/node-markdown-spellcheck/blob/master/es6/markdown-parser.js#L13

Am I right?

davidhrbac avatar Jan 24 '17 21:01 davidhrbac

I am still getting errors from code referenced in language specific code blocks i.e. ```js

mlabieniec avatar Oct 16 '18 15:10 mlabieniec