GM notes can now include arbitrary additional sections as attributes.

This commit is contained in:
Mark Wolfman
2021-07-24 17:40:01 -05:00
parent a1a5d7783a
commit 6bfaddf821
8 changed files with 77 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ def create_epub(
)
book.add_item(css)
# Add paper background
with open(Path(__file__).parent / "forms/paper.jpg", mode="rb") as fp:
with open(Path(__file__).parent / "forms/paper-low-res.jpg", mode="rb") as fp:
bg_img = fp.read()
paper = epub.EpubItem(
file_name="images/paper.jpg",