pepellou / SpanishIsHard

Book to help Spanish learners overcome the very first and biggest obstacles
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Script to compile from markdown #2

Open pepellou opened 2 years ago

pepellou commented 2 years ago

We need to be able to have the chapters in markdown, so it can be navigated on github but also edited simply. The proper html should be generated for each chapter, but also content.opf, table_of_contents.html and toc.ncx. That html should be then compiled to both epub and pdf (currently working already). The compiled versions (html, epub, pdf) will not be tracked in the repository's main branch.

pepellou commented 2 years ago

The compiled versions (html, epub, pdf) will not be tracked in the repository's main branch.

Actually why not? They're going to be downloadable, so it makes sense to rewrite them accordingly when anything changes in the contents.