浏览代码

Merge branch 'master' of orgmode.org:org-mode

Carsten Dominik 11 年之前
父节点
当前提交
d90243c98a
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      lisp/ox-md.el

+ 11 - 0
lisp/ox-md.el

@@ -484,6 +484,17 @@ FILENAME is the filename of the Org file to be published.  PLIST
 is the property list for the given project.  PUB-DIR is the
 publishing directory.
 
+Return output file name."
+  (org-publish-org-to 'md filename ".md" plist pub-dir))
+
+;;;###autoload
+(defun org-md-publish-to-md (plist filename pub-dir)
+  "Publish an org file to Markdown.
+
+FILENAME is the filename of the Org file to be published.  PLIST
+is the property list for the given project.  PUB-DIR is the
+publishing directory.
+
 Return output file name."
   (org-publish-org-to 'md filename ".md" plist pub-dir))