浏览代码

ox-md: Fix handling of switches in source blocks

* lisp/ox-md.el (org-md-example-block): handle switches and references
  in source blocks.
Nicolas Goaziou 11 年之前
父节点
当前提交
2868f962a2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-md.el

+ 1 - 1
lisp/ox-md.el

@@ -157,7 +157,7 @@ channel."
   (replace-regexp-in-string
    "^" "    "
    (org-remove-indentation
-    (org-element-property :value example-block))))
+    (org-export-format-code-default example-block info))))
 
 
 ;;;; Headline