comparison mercurial/httpconnection.py @ 31132:bbdd712e9adb

minirst: support passing admonitions into findadmonitions() and parse() This will allow consumers to declare a custom list of admonitions to parse. Without this patch, custom admonitions would get removed when prunecomments() is run. We could add an argument controlling whether prunecomments() is run. However, it is better to convert the "paragraph" block to an "admonition" block so consumers don't have to parse for custom admonitions.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 15 Feb 2017 11:49:12 -0800
parents 3dcaf1c4e90d
children 90e69badb125
comparison
equal deleted inserted replaced
31131:50a49ead4db4 31132:bbdd712e9adb