git clone git@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?
- https://en.wikipedia.org/wiki/Function_as_a_service
- https://www.cloudflare.com/learning/serverless/glossary/function-as-a-service-faas/
Here are some similar projects of this type?