fix chapter links
pronoiac opened this issue · comments
James Young commented
tags: scripts, links
The chapter links mostly use the filenames from the source epub, like B9780080571157500017.xhtml
, rather than the more clear chapter1.md
. We should fix these. A couple of possible methods:
- look for
chapter (num)
or[chapter (num)](old link.xhtml)
- look at PAIP-safari.md and the TOC / preface for chapter filenames
Don't worry about sections or subchapters yet; those will require additional markup, which is a source of incompatibility between markdown parsers.
James Young commented
I'm picking this up.