Export fixed-width part as example-block (Fix #16)

This commit is contained in:
IGARASHI Masanao
2015-11-15 12:18:47 +09:00
parent dbd17b45c4
commit fdf67b788e

View File

@@ -46,7 +46,7 @@
(example-block . org-rst-example-block)
(export-block . org-rst-export-block)
(export-snippet . org-rst-export-snippet)
(fixed-width . org-rst-fixed-width)
(fixed-width . org-rst-example-block)
(footnote-reference . org-rst-footnote-reference)
(headline . org-rst-headline)
(horizontal-rule . org-rst-horizontal-rule)
@@ -663,15 +663,6 @@ CONTENTS is nil. INFO is a plist holding contextual information."
(org-element-property :value export-snippet)))
;;;; Fixed Width
(defun org-rst-fixed-width (fixed-width contents info)
"Transcode a FIXED-WIDTH element from Org to reStructuredText.
CONTENTS is nil. INFO is a plist used as a communication
channel."
(org-rst--text-markup (org-element-property :value fixed-width) 'verbatim))
;;;; Footnote Definition
;(defun org-rst-footnote-definition (footnote-definition contents info)