hgext/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Wed, 15 Feb 2017 11:49:12 -0800
changeset 31132 bbdd712e9adb
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
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.

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)