moggers87 / exhibition

A static site generator
GNU General Public License v3.0
5 stars 2 forks source link

Add support for a Jinja2 pandoc filter #82

Closed tsyesika closed 4 years ago

tsyesika commented 4 years ago

This can now be used with the filter tag, e.g.

{% filter pandoc("org") %}
stuff here.
{% endfilter %}
moggers87 commented 4 years ago

I think we need to install pandoc on travis too for tests to pass

moggers87 commented 4 years ago

https://github.com/bebraw/pypandoc#installing-pandoc-via-pypandoc

Apparently that works

codecov[bot] commented 4 years ago

Codecov Report

Merging #82 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #82   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines         1652      1678   +26     
  Branches        89        90    +1     
=========================================
+ Hits          1652      1678   +26     
Impacted Files Coverage Δ
exhibition/filters/jinja2.py 100.00% <100.00%> (ø)
exhibition/tests/test_filters.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 20f5ceb...4c785c9. Read the comment docs.

moggers87 commented 4 years ago

@xray7224 :tada: