Closed
Description
Hi,
First of all, thank you for your hardwork, this plugin is very useful.
I am trying to generate EPUB using mdbook-pandoc in this project: https://github.com/rust-lang/book
I have updated the book.toml
to inclucde
[output.pandoc.profile.epub3]
output-file = "output.epub"
to = "epub3"
file-scope = true
number-sections = true
standalone = true
table-of-contents = true
toc-depth = 3
[output.pandoc]
hosted-html = "https://doc.rust-lang.org/nightly/book/"
[output.pandoc.code]
show-hidden-lines = false
But this seem to only generate first level:
Weirdly, if I change each sub-markdown like chXX-01, chXX-02, etc. to start with a #
instead of a ##
now it will include them.
I am not sure if this is a bug or something I am missing. Running instead of mdbook build
this pandoc src/*.md -o output.epub
will generate the proper level of table of content.
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels