File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11DIFF ?= diff --strip-trailing-cr -u
22
3- test : test-html test-md
3+ test : test-asciidoc test-html test-md
4+
5+ test-asciidoc :
6+ @pandoc --lua-filter=pagebreak.lua sample.md --to asciidoc | $(DIFF ) expected.adoc -
47
58test-html :
69 @pandoc --lua-filter=pagebreak.lua sample.md | $(DIFF ) expected.html -
710
811test-md :
912 @pandoc -t ms --lua-filter=pagebreak.lua sample.md | $(DIFF ) expected.ms -
1013
11- .PHONY : test test-html test-md
14+ .PHONY : test test-asciidoc test- html test-md
Original file line number Diff line number Diff line change 1+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
2+ hendrerit tempor tellus. Donec pretium posuere tellus.
3+
4+ <<<
5+
6+ Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
7+ ridiculus mus. Nulla posuere. Donec vitae dolor.
8+
9+ <<<
10+
11+ Pellentesque dapibus suscipit ligula. Donec posuere augue in quam.
12+ Suspendisse potenti.
13+
14+ Final paragraph without a preceding pagebreak.
You can’t perform that action at this time.
0 commit comments