From: Jean Privat Date: Fri, 28 Nov 2014 19:51:34 +0000 (-0500) Subject: Merge: Use tagged-fences to discriminate docunits X-Git-Tag: v0.6.11~5 X-Git-Url: http://nitlanguage.org Merge: Use tagged-fences to discriminate docunits Using heuristics to know what is a docunit and what is a raw block of code is not nice because syntax-errors in docunits happen and we do not want to silence them. This PR introduces (and documents) the usage of tagged fences to force the programmer to explicit the role of the blocks of code. By default (with indented block or untagged fences) code blocks are considered docunits to be checked by nitunit. The tag `nit` does the same. Any other tag cause docunit to ignore the whole block. The special tag `nitish` makes docunit ignore the block but allows nitdoc to highlight it. ~~~~ ~~~~ Pull-Request: #941 Reviewed-by: Alexandre Terrasa --- 5074f0b83d10f85a84e5db4e36d0180c004db48f