comparison tests/test-minirst.py @ 12388:75f044d4dbf5

minirst: Support for admonitions The old asciidoc format supported something like this, this is why there is NOTE: scattered here and there.
author Erik Zielke <ez@aragost.com>
date Wed, 22 Sep 2010 15:51:59 +0200
parents 68b7d2d668ce
children 5082e2f3f8e0
comparison
equal deleted inserted replaced
12387:4f8067c94729 12388:75f044d4dbf5
195 195
196 Markup: ``foo`` and :hg:`help` 196 Markup: ``foo`` and :hg:`help`
197 ------------------------------ 197 ------------------------------
198 """ 198 """
199 debugformat('sections', sections, 20) 199 debugformat('sections', sections, 20)
200
201
202 admonitions = """
203 .. note::
204 This is a note
205
206 - Bullet 1
207 - Bullet 2
208
209 .. warning:: This is a warning Second
210 input line of warning
211
212 .. danger::
213 This is danger
214 """
215
216 debugformat('admonitions', admonitions, 30)