Export fixed-width part as example-block (Fix #16)
This commit is contained in:
11
ox-rst.el
11
ox-rst.el
@@ -46,7 +46,7 @@
|
|||||||
(example-block . org-rst-example-block)
|
(example-block . org-rst-example-block)
|
||||||
(export-block . org-rst-export-block)
|
(export-block . org-rst-export-block)
|
||||||
(export-snippet . org-rst-export-snippet)
|
(export-snippet . org-rst-export-snippet)
|
||||||
(fixed-width . org-rst-fixed-width)
|
(fixed-width . org-rst-example-block)
|
||||||
(footnote-reference . org-rst-footnote-reference)
|
(footnote-reference . org-rst-footnote-reference)
|
||||||
(headline . org-rst-headline)
|
(headline . org-rst-headline)
|
||||||
(horizontal-rule . org-rst-horizontal-rule)
|
(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)))
|
(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
|
;;;; Footnote Definition
|
||||||
|
|
||||||
;(defun org-rst-footnote-definition (footnote-definition contents info)
|
;(defun org-rst-footnote-definition (footnote-definition contents info)
|
||||||
|
|||||||
Reference in New Issue
Block a user