feat(epub): add cover image

This commit is contained in:
FineFindus
2023-08-05 22:05:04 +02:00
parent e1c58bba97
commit fc8c87bee5
2 changed files with 1 additions and 1 deletions

BIN
scripts/cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -22,4 +22,4 @@ sed -i 's|../paging-introduction/||g' book/book.md
# go to work dir and create epub
cd book/
pandoc book.md -o book.epub --metadata title="Writing an OS in Rust" --metadata author="Philipp Oppermann"
pandoc book.md -o book.epub --metadata cover-image="../cover.png" --metadata title="Writing an OS in Rust" --metadata author="Philipp Oppermann" --metadata description="This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository."