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 1
1
DIFF ?= diff --strip-trailing-cr -u
2
2
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 -
4
7
5
8
test-html :
6
9
@pandoc --lua-filter=pagebreak.lua sample.md | $(DIFF ) expected.html -
7
10
8
11
test-md :
9
12
@pandoc -t ms --lua-filter=pagebreak.lua sample.md | $(DIFF ) expected.ms -
10
13
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