minirst: support subsubsubsubsections (header level 5) with marker ''''
Differential Revision: https://phab.mercurial-scm.org/D6328
--- a/mercurial/minirst.py Fri May 03 15:37:08 2019 +0200
+++ b/mercurial/minirst.py Fri Apr 26 12:40:26 2019 +0200
@@ -44,6 +44,9 @@
def subsubsubsection(s):
return "%s\n%s\n\n" % (s, "." * encoding.colwidth(s))
+def subsubsubsubsection(s):
+ return "%s\n%s\n\n" % (s, "'" * encoding.colwidth(s))
+
def replace(text, substs):
'''
Apply a list of (find, replace) pairs to a text.