Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any recommended way to use Pandoc with docker-hugo? #43

Open
elmehalawi opened this issue Jun 7, 2018 · 1 comment
Open

Is there any recommended way to use Pandoc with docker-hugo? #43

elmehalawi opened this issue Jun 7, 2018 · 1 comment

Comments

@elmehalawi
Copy link

According to this, it seems that hugo can "shell out" to the pandoc command to get it to process markdown files whose extension is ".pandoc" or ".pdc".

Is it possible to get this working with docker? Should pandoc be installed alongside hugo, or should it be another image and then maybe mount the pandoc executable from the other image onto a directory in the PATH within the docker-hugo image?

@jojomi
Copy link
Owner

jojomi commented Jun 8, 2018

I think I would include pandoc in the same image for ease of use.

Since this is not the most common use case (am I wrong?) I would suggest you create your own Dockerfile and use the FROM directive to base it on this one. Then you would add the pandoc package and you should be good to go.

If you decide to do this, please report about your success, so that others can profit too :). Thank you!
If you have further questions or comments, please add them here too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants