Skip to content

Commit

Permalink
Fix: broken SUMMARY.md gen
Browse files Browse the repository at this point in the history
  • Loading branch information
paulalesius committed Jan 3, 2024
1 parent d8add85 commit 43a46c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion batch.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
(split-string (buffer-string) "\n" t)))
toc-items)
(with-temp-file summary-org-path
(insert "* Summary\n")
;; Inserting a headline creates a TOC in the Org export to Markdown, which
;; makes the resulting SUMMARY.md incompatible with mdbook.
;;(insert "* Summary\n")
(dolist (line toc-lines)
(let* ((items (split-string line ":"))
(item-len (1- (length items)))
Expand Down

0 comments on commit 43a46c4

Please sign in to comment.