Update ReadMe.md

This commit is contained in:
tangent committed 2026-10-03 04:42:29 -06:00
1 parent 1568dbca9d
commit 2270729307
1 file changed
+2 -8
+2 -8
View File
@@ -5,15 +5,9 @@ Download a transcript, place it in this directory, run
`./convert_transcript.lua FILE`, fill in author and link as
requested, and you will have a usable epub.
This is heavily WIP.
**The file name will be set as the title.**
I used the apply_margin script on a transcript downloaded from
https://www.youtube-transcript.io to correct the poor formatting,
then oops_all_code to add backticks to each line (because else
pandoc encodes all code in a single block no matter how poorly
that aligns with a page boundary when exporting epubs), then
pandoc --from markdown+hard_line_breaks input -o output to finally
have a functional epub that is legible.
This is heavily WIP.
This will probably fail with videos longer than an hour because
the export will be different enough to fuck up the margin fix.