Skip to content

This is a web interface for Pandoc. For converting Markdown files to HTML, PDF, EPUB, and DOCX serverside.

License

Notifications You must be signed in to change notification settings

OULibraries/Pandoc-Web-Interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandoc_Web_Interface

Assumptions

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

Setup

This tool has several dependencies,

from within Pandoc-Web-Interface/ run,

bash dependencies.sh

to install them. This only needs to be done once.

Next run,

bash setup.sh

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

bash cleanup.sh

Use

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

Operation

Conversiton to PDF is done using the tool WKHTMLTOPDF:

.md -> Pandoc -> .html (w/ CSS) -> WKHTMLTOPDF -> .pdf

License

This repository is licensed under the MIT License.

About

This is a web interface for Pandoc. For converting Markdown files to HTML, PDF, EPUB, and DOCX serverside.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.6%
  • HTML 27.8%
  • Shell 12.0%
  • PHP 5.6%