Skip to content

Student lead Pandoc docker service w/ intention of deploying as add on to HAX

Notifications You must be signed in to change notification settings

elmsln/Pandoc-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandoc Service

The intended purpose of this mircroservice is to serve as a file conversion tool in the command line for both Linux and Windows users. DISCLAIMER: Any copyrighted material without permission of the owner should not use this tool. Any material passed through is solely the responsibility of the user.

Build the Docker Image

git clone https://github.com/elmsln/Pandoc-Service.git
cd Pandoc-Service
docker build -t pandoc-service .

Usage

Linux / Windows PowerShell:

docker run -it --rm -v "$(pwd):/src" pandoc-service <input-filename>.html -s -o <output-filename>.md

Linux / Windows PowerShell Example:

docker run -it --rm -v "$(pwd):/src" pandoc-service ./tests/pandochtmltest.html -s -o ./tmp/output.md

Windows Command Line:

docker run -it --rm -v "%cd%:/src" pandoc-service "<input-filename>.html" -s -o "<output-filename>.md"

Windows Command Line Example:

docker run -it --rm -v "%cd%:/src" pandoc-service "./tests/pandochtmltest.html" -s -o "./tmp/output.md"

Linux / Windows PowerShell convert and move file location:

docker run -it --rm -v "$(pwd):/src" pandoc-service <input-filename>.html -s -o <output-filename>.md | mv <output-filename> <new/file/location>

FAAS Resources

What is function as a service?

About

Student lead Pandoc docker service w/ intention of deploying as add on to HAX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published