Looks for any md files with names (case-insensitive) starting with "README" and creates a PDF format.
Implements this command to build a docker container (note svg is not working, use png format for images instead).
docker build -t pandoc-with-rsvg -f Dockerfile .
Runs this command with the specified files in entrypoint.sh
docker run --rm -v ${PWD}:/data pandoc-with-rsvg
Issue of figures not appearing in PDF file:
- Do not use .svg format for image files
- Pandoc has multiple restrictions on html formatting. Use their native format instead (see here for more information.)