Show More
@@ -452,7 +452,8 b' def findadmonitions(blocks, admonitions=' | |||||
452 | i = i + 1 |
|
452 | i = i + 1 | |
453 | return blocks |
|
453 | return blocks | |
454 |
|
454 | |||
455 | _admonitiontitles = {'attention': _('Attention:'), |
|
455 | _admonitiontitles = { | |
|
456 | 'attention': _('Attention:'), | |||
456 |
|
|
457 | 'caution': _('Caution:'), | |
457 |
|
|
458 | 'danger': _('!Danger!'), | |
458 |
|
|
459 | 'error': _('Error:'), | |
@@ -460,7 +461,8 b' def findadmonitions(blocks, admonitions=' | |||||
460 |
|
|
461 | 'important': _('Important:'), | |
461 |
|
|
462 | 'note': _('Note:'), | |
462 |
|
|
463 | 'tip': _('Tip:'), | |
463 |
|
|
464 | 'warning': _('Warning!'), | |
|
465 | } | |||
464 |
|
466 | |||
465 | def formatoption(block, width): |
|
467 | def formatoption(block, width): | |
466 | desc = ' '.join(map(str.strip, block['lines'])) |
|
468 | desc = ' '.join(map(str.strip, block['lines'])) |
General Comments 0
You need to be logged in to leave comments.
Login now