Skip to content

Commit fdc8612

Browse files
feat: add toc to ebooks and automate generation
1 parent 44b02db commit fdc8612

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

ebook/generate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pandoc --toc $1.tex -o $1.epub
2+
ebook-convert $1.epub $1.mobi

ebook/python-snippets.epub

73 Bytes
Binary file not shown.

ebook/python-snippets.mobi

-175 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)