17 lines
756 B
Markdown
17 lines
756 B
Markdown
This is heavily WIP.
|
|
|
|
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 will probably fail with videos longer than an hour because
|
|
the export will be different enough to fuck up the margin fix.
|
|
|
|
I am really frustrated because pandoc doesn't support plain text.
|
|
I went through many tests and iterations before coming to even
|
|
this minimal start and it was extremely frustrating.
|