yashha
yashha
At the moment it is just this: Bundled with parcel. ``` // import jsPDF from 'jspdf'; // import PDFObject from 'pdfobject'; import Readability from './vendor/readability'; import html2pdf from 'html2pdf.js'; const...
The disadvantage is that https://github.com/MrRio/jsPDF and https://github.com/eKoopmans/html2pdf don't render it so that the text is selectable/searchable.
I created one for my web api, it should be similar: https://github.com/yashha/percollate-api/blob/master/Dockerfile
I guess you need google chrome and node and thats enough. For my web api you also need texlive-extra-utils and start the web server. Here is a more minimal example:...
https://www.reddit.com/r/linux/comments/9n50ba/lets_see_why_flatpak_and_sandboxing_are_awesome/ https://news.ycombinator.com/item?id=24662315 I think issues are being addressed by flathub and flatpak as well as repositories like flathub will improve. Flatpak is a good solution and is better than snap.
It should probably be default. What speaks against it?
It would may be cool to only shrink the table down, but I don't know atm, if it is doable.
Here a try with a lower font-size for tables. But that does not seem like a solution. https://percollate-api.herokuapp.com/pdf?url=https://de.wikipedia.org/wiki/JavaScript&css=html%2Cbody%7Bwidth%3A100%25%3Boverflow%3Ahidden%3B%7Dtable%20%2A%7Bfont-size%3A1.7vw%3B%7D
Maybe we should split the table in the pre-processing, depending if it is a4 or a5 https://stackoverflow.com/questions/8891944/print-a-very-wide-html-table-without-clipping-right-hand-side/16278665#16278665
Hi @devstack-be, did you find a solution for this?