-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README and pandoc-include-code filter
- Loading branch information
1 parent
9f354ca
commit f58512d
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Pandoc container | ||
|
||
[![Build Status](https://travis-ci.org/groovytron/pandoc-container.svg?branch=master)](https://travis-ci.org/groovytron/pandoc-container) | ||
|
||
Container embedding pandoc and some pandoc filter to convert files from a format to another. | ||
|
||
## Softwares embedded in the container | ||
|
||
- `make` | ||
- [pandoc](https://pandoc.org) | ||
- [pandoc-crossref](https://github.com/lierdakil/pandoc-crossref) filter | ||
- [pandoc-include-code](https://github.com/owickstrom/pandoc-include-code) filter | ||
|
||
## Use the container | ||
|
||
We recommend you to use the `dev` user instead of `root` when running that container. | ||
|
||
The container's working directory is `/home/dev/doc` so we advise you to mount your project's documentation directory onto this place. | ||
|
||
### Building the project interactively in the container | ||
|
||
To run the container and open a bash in your documentation project run the following command: | ||
|
||
`docker run -it --entrypoint /bin/bash --user=dev --volume=<path-to-your-documentation-directory>:/home/dev/doc groovytron/pandoc:latest` |