D6328: minirst: support subsubsubsubsections (header level 5) with marker ''''
Sietse (Sietse Brouwer)
phabricator at mercurial-scm.org
Sun May 5 05:12:13 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf9cdd732cb58: minirst: support subsubsubsubsections (header level 5) with marker '''' (authored by Sietse, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6328?vs=14961&id=15014
REVISION DETAIL
https://phab.mercurial-scm.org/D6328
AFFECTED FILES
mercurial/minirst.py
CHANGE DETAILS
diff --git a/mercurial/minirst.py b/mercurial/minirst.py
--- a/mercurial/minirst.py
+++ b/mercurial/minirst.py
@@ -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.
To: Sietse, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list