如何在NetBeans中禁用特定文件类型中的错误解析

In my project I have few .md files that should not be treated like code files (PHP project). I have Error badges all over the place because there are "errors" in those files. Is there any way to disable error checking in specific files or whole file type?

I don't really want to exclude those file entirely from project. Hope there is way to just disable error checking in those files.

Go to Tools->Options, then go to the Miscellaneous Tab, then the Files tab. Click New next to File Extension and add md, then select text/plain.

Or right below you can add .*\.md to your ignored file pattern. If you do this then the files will not show up in Netbeans at all.