Merge pull request #15 from avoine/master

use SPECIAL-BLOCK for admonitions
This commit is contained in:
IGARASHI Masanao
2015-10-18 16:34:34 +09:00

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