-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CiceroMark -> PDF transformation #51
Comments
Could https://github.com/MrRio/jsPDF (docs: http://raw.githack.com/MrRio/jsPDF/master/docs/) be an option? |
@peterhunn it's a pretty cool pdf generator. |
Hey, I would like to take this up. Can you help me get started with this? |
Both I suggest playing with the API and looking at the output and performance and posting back findings here. |
@devcer any progress on this? |
Another one: https://www.npmjs.com/package/markdown-pdf |
@irmerk Can I work on this issue ? |
https://github.com/bpampuch/pdfmake Takes a declarative approach, which could make this really easy. We just have to transform the CiceroMark DOM into the JSON used by pdfmake. |
Implemented by #243 |
Implement a transformation (similar to the markdown-html HtmlTransformer) that generates a PDF document from a CiceroMark DOM.
Describe the solution you'd like
Implement a visitor using the https://pdfkit.org library, generating paragraphs and formatted text.
Describe alternatives you've considered
Tried to fine a lightweight HTML -> PDF library (pure JS) but come up empty.
Additional context
Something small, fast and lightweight that is 100% JS. A bonus would be the ability to customise look and feel etc.
The text was updated successfully, but these errors were encountered: