use SPECIAL-BLOCK for admonitions

This commit is contained in:
Patrick Hetu
2015-10-06 12:24:49 -04:00
parent 35c186322f
commit 79b5e9ccda

View File

@@ -1309,7 +1309,10 @@ holding contextual information."
"Transcode a SPECIAL-BLOCK element from Org to reStructuredText.
CONTENTS holds the contents of the block. INFO is a plist
holding contextual information."
contents)
(let ((type (org-element-property :type special-block)))
(format ".. %s::\n%s\n"
type
(org-rst--indent-string contents org-rst-quote-margin))))
;;;; Src Block