On Wed, 15 Feb 2017 17:58:59 -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc <gregory.sz...@gmail.com> > # Date 1487188034 28800 > # Wed Feb 15 11:47:14 2017 -0800 > # Node ID 197ba3e5885366038d453b9b22fa2910a0792988 > # Parent dd90d5f7dc1908d9b69e6a4b8165a73757d1c84b > minirst: dynamically compile admonitions regexp
> +_admonitions = set([ > + 'admonition', > + 'attention', > + 'caution', > + 'danger', > + 'error', > + 'hint', > + 'important', > + 'note', > + 'tip', > + 'warning', > +]) Maybe this could be combined with _admonitiontitles. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel