Writers want to suppress errors from RedPen. In such cases, writers list up the error types they want to suppress. The list of the errors are written down to the beginning of sections or paragraphs where they want to suppress the spcified errors.
The following is a sample of AsciiDoc section which suppress two error types. In the section, the specified errors are suppressed even when RedPen detect errors.
//@Suppress@ SuccessiveWord InvalidExpression
= Section 1
This is is section one yeah.
As we see, the list of the errors are written in the comment just before the seciton and annotation, @Suppress@ is added before the list of errors.
The suppression is supported with AsciiDoc and Re:VIEW formats.
Thank you very much for the valuable comment @mojavelinux! The suggested annotation style (AsciiDoc attribute) is better than my idea.
I just have one concern on the attribute style annotation. That is, some users want to skip errors in one paragraph not the whole section. Does AsciiDoc allow users to add attributes for paragraphs?
The following is the sample.
In the sample, the writer wants suppress from third paragraph not whole section (Section 1).
Any comments would be helpful.