org mode导出markdown文件时候,如何导出作者等信息?

大家好,

我在org mode 下,导出.md文件,我需要导出的文件按照某个模版格式来,比如有公共的头。

我在 org配置了 #+AUTHOR: MyName

但是导出的.md文件里面没有包含这个信息。请问是什么情况呢?

你看下 ox 的配置里有没有相关的配置:

(use-package ox
  :ensure nil
  :after org
  :config
  (add-to-list 'org-export-backends 'pandoc)
  :custom
  (org-export-with-toc t)
  (org-export-with-tags 'not-in-toc)
  (org-export-with-email t)
  (org-export-with-author t)
  (org-export-with-drawers nil)
  (org-export-with-priority t)
  (org-export-with-footnotes t)
  (org-export-with-smart-quotes t)
  (org-export-with-section-numbers nil)
  (org-export-with-sub-superscripts '{})
  ;; Use :eval never-export header argument to avoid evaluating.
  (org-export-use-babel t)
  (org-export-headline-levels 5)
  (org-export-coding-system 'utf-8)
  (org-export-with-broken-links 'mark)
  ;; (org-export-backends '(ascii html md icalendar man))) ; original value
  )
2 个赞