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.
git clone https://github.com/elmsln/Pandoc-Service.git
cd Pandoc-Service
docker build -t pandoc-service .Linux / Windows PowerShell:
docker run -it --rm -v "$(pwd):/src" pandoc-service <input-filename>.html -s -o <output-filename>.mdLinux / Windows PowerShell Example:
docker run -it --rm -v "$(pwd):/src" pandoc-service ./tests/pandochtmltest.html -s -o ./tmp/output.mdWindows 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>What is function as a service?