emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] ox-md.el: fixed an issue where exporting markdown ToC would


From: Yue Zhu
Subject: [O] [PATCH] ox-md.el: fixed an issue where exporting markdown ToC would fail if heading numbering is not enabled
Date: Fri, 20 Apr 2018 11:05:46 -0400

When exporting markdown with ToC, if heading numbering is not enabled, it would fail with the attached backtrace. The cause is that the function `org-md--build-toc' in `ox-md.el' does not properly handle this case which effectively results in a function call `(format "%d." nil)'. In my patch, when exporting markdown with ToC, if heading numbering is not enabled, ToC will be shown as an unordered list.

Attachment: 0001-ox-md.el-fixed-an-issue-where-exporting-markdown-ToC.patch
Description: Binary data

Attachment: backtrace.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]