stumash / CoursePlanner

http://conucourseplanner.online
MIT License
5 stars 3 forks source link

Add table export option #132

Closed Davidster closed 6 years ago

Davidster commented 6 years ago

resolves #128

Summary

As per #128, I used wkhtmltopdf to generate pdf files from html. I used the following gist to help me install the program onto our VM.

I added a new function to the export servlet which converts the sequence json into an html page with a table representing the sequence. It performs this conversion in a very similar way to how the markdown list is generated.

I changed the server API a little to accommodate this change:

~I will need to update our REST API wiki page accordingly once this is PR merged.~ wiki has been updated