fraxken / ebook_nodejs

Ebook - Become a Node.js developer - https://fraxken.github.io/ebook_nodejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve PDF generation

fraxken opened this issue Β· comments

Hello πŸ‘‹

We recently finished to re-orders chapters for both english and french versions. However PDF generation is currently not that great:

  • Broken links between chapters
  • Doesn't render emojis very well
  • Code highligh is not great either
  • Image doesn't load

Hi,
Can I work on this issue?

Hi @Shaju06, yes you can work on it!

@fraxken To fix redirection inside the document, here is a solution.

image
image

but at this point, the MD links overwrite the href="#Introduction", so using the class Introduction-ref (as there is multiple redirections to the hyperlinks), it is possible to rematch on hyperlinks.

This way, it's possible to have the md and the pdf redirection.

For the rest, #27 resolved points