open-learning-exchange / planet

🌍 Planet Learning - Angular application
https://hub.docker.com/r/treehouses/planet
GNU Affero General Public License v3.0
62 stars 39 forks source link

Achievements export as PDF #3302

Open paulbert opened 5 years ago

paulbert commented 5 years ago

Started PR here to explore libraries & how difficult this will be: #3293

Instead of using the markdown converter (showdown) as in the PR we could maybe grab the DOM element with Angular (see ViewChild and ElementRef for reference on ways to get the HTML)

I think we are limited on font options, so let's just use a sans serif option. The main thing will be to make sure the styling is similar (headings with larger font & text centered).

I'm going to pass this PR off an move on to other things, but can help out if needed.

paulbert commented 5 years ago

https://rawgit.com/MrRio/jsPDF/master/docs/

jessewashburn commented 1 week ago

This is what Print Achievements does.