making code in pdf look abit better?
shirshak55 opened this issue · 6 comments
Yea pdfs are already good but I think we can make code look a bit nice and add background etc. Do you use bash scripts to convert markdown to pdf?
Hi, thanks for the feedback.
No, PDFs are created from the epub, which is made by code. Could you provide some example of how the code could get better?
@driade Please find example attached.
May you review this one?
yea that looks better but font is not looking good imho. and indentation is also not 4 space which laravel uses(except sass
)
I think we can use good fonts like that of latex etc and it entierly depends
Please let me check. At this moment the PDF is just an exact version of the docs, with just a few small adaptations to make it look enough good. Your suggestion is great but it may need a lot of code and testing to be sure everything looks as expected.
The only way I suppose this could be done in a reasonable time is open sourcing the code of this project :) I don't know if I'm ready for that, some parts of it are a bit "ugly" an were never intended to be "shown" to the outer world. For example, the current code lacks of tests.
may be if you release code somebody will PR it and we can improve styles etc too :D