src: cleanup importations
[nit.git] / src / markdown.nit
index f0a507d..01a054c 100644 (file)
 # Transform Nit verbatim documentation into HTML
 module markdown
 
-import parser
+private import parser
 import html
-import highlight
+private import highlight
+private import parser_util
 
 # The class that does the convertion from a `ADoc` to HTML
 private class Doc2Mdwn
@@ -68,7 +69,8 @@ private class Doc2Mdwn
                        end
 
                        # Is codeblock? Then just collect them
-                       if indent >= 4 then
+                       if indent >= 3 then
+                               # to allows 4 spaces including the one that follows the #
                                curblock.add(text)
                                continue
                        end