mercurial/minirst.py
changeset 10063 a46478b80ea3
parent 9741 245689e7f869
child 10064 6f30c35766d6
equal deleted inserted replaced
10062:c204431b039e 10063:a46478b80ea3
   271         return blocks
   271         return blocks
   272 
   272 
   273     text = open(sys.argv[1]).read()
   273     text = open(sys.argv[1]).read()
   274     blocks = debug(findblocks, text)
   274     blocks = debug(findblocks, text)
   275     blocks = debug(findliteralblocks, blocks)
   275     blocks = debug(findliteralblocks, blocks)
       
   276     blocks = debug(inlineliterals, blocks)
   276     blocks = debug(splitparagraphs, blocks)
   277     blocks = debug(splitparagraphs, blocks)
   277     blocks = debug(findsections, blocks)
   278     blocks = debug(findsections, blocks)
   278     blocks = debug(addmargins, blocks)
   279     blocks = debug(addmargins, blocks)
   279     print '\n'.join(formatblock(b, 30) for b in blocks)
   280     print '\n'.join(formatblock(b, 30) for b in blocks)