Skip to content

Commit

Permalink
Merge pull request #256 from dalibo/panda_jinja
Browse files Browse the repository at this point in the history
Add pandoc-jinja and panda for variable substitution
  • Loading branch information
daamien authored Jan 3, 2023
2 parents ce83c7c + a6a30fe commit 4577247
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pandocfilters==1.5
# pandoc-codeblock-include==0.1
# https://github.com/DCsunset/pandoc-include/releases/latest
pandoc-include==1.2
# https://github.com/daamien/pandoc-jinja/releases
pandoc-jinja==0.1.2
# https://github.com/chdemko/pandoc-latex-admonition/releases/latest
pandoc-latex-admonition==1.3.2
# https://github.com/chdemko/pandoc-latex-color/releases/latest
Expand Down
14 changes: 11 additions & 3 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,19 @@ RUN wget https://github.com/hakimel/reveal.js/archive/${REVEALJS_VERSION}.tar.gz
## F I L T E R S
##

#
# Python filters
#
ADD requirements.txt ./
RUN pip3 --no-cache-dir install --find-links file://${PWD}/cache -r requirements.txt
RUN pip3 --no-cache-dir install -r requirements.txt

# Lua filters
ARG PANDA_REPO=https://github.com/CDSoft/panda.git
ARG PANDA_VERSION=8dcbe68
RUN git clone ${PANDA_REPO} /tmp/panda && \
cd /tmp/panda && \
git checkout ${PANDA_VERSION} && \
make install && \
rm -fr /tmp/panda


##
## L A T E X
Expand Down

0 comments on commit 4577247

Please sign in to comment.