All scripts were created with the following assumptions in mind. Your mileage may vary.
- Distributor ID: Ubuntu
- Description: Ubuntu 16.04.1 LTS
- Release: 16.04
- Codename: xenial
This tool has several dependencies,
from within Pandoc-Web-Interface/ run,
to install them. This only needs to be done once.
To move necessary files to where they need to be. This needs to be done each time a new version of the Pandoc-Web-Interface is downloaded.
If Pandoc-Web-Interface is being reinstalled, run the following before setup.sh
Upload individual .md files or a .zip archive of multiple .md files and associated assets to be converted to a number of output formats serverside.
To apply a custom stylesheet include it in the .zip archive and select the "custom" radio button. Selecting radio buttons other than "custom" will override a user-supplied stylesheet.
Converted files are zipped and directly downloaded in browser
Conversiton to PDF is done using the tool WKHTMLTOPDF:
.md -> Pandoc -> .html (w/ CSS) -> WKHTMLTOPDF -> .pdf
This repository is licensed under the MIT License.