Skip to content

Commit

Permalink
fix(mdbook): Correctly apply pandoc filter arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 3, 2024
1 parent e03b1f0 commit 3cf8f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/mdbook.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $(BUILDDIR)/%-mdbook.md: private PANDOCNORMALIZEARGS = --wrap=none --to=commonma
$(BUILDDIR)/%-mdbook.md: private PANDOCFILTERS += --lua-filter=$(CASILEDIR)/pandoc-filters/strip_for_mdbook.lua
$(BUILDDIR)/%-mdbook.md: $(BUILDDIR)/%-$(_processed).md
$(PANDOC) \
$(PANDOCARGS) $(PANDOCFILTERS) $(PANDOCFILTERSARGS) $(PANDOCNORMALIZEARGS) \
$(PANDOCARGS) $(PANDOCFILTERS) $(PANDOCFILTERARGS) $(PANDOCNORMALIZEARGS) \
$(filter %.md,$^) -o $@

$(BUILDDIR)/%.mdbook/src/SUMMARY.md: $(BUILDDIR)/%-mdbook.md
Expand Down

0 comments on commit 3cf8f89

Please sign in to comment.