diff --git a/ox-rst.el b/ox-rst.el index 91b3a74..47fb5a2 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -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