File tree Expand file tree Collapse file tree 5 files changed +28
-0
lines changed Expand file tree Collapse file tree 5 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1515.diagrams-cache
1616/cabal.sandbox.config
1717/.cabal-sandbox /
18+ test /images
19+ test /* .html
20+ /test /.cabal-sandbox
Original file line number Diff line number Diff line change 1+ rm -rf images
2+ rm -rf * .html
Original file line number Diff line number Diff line change 1+ Here is a square:
2+
3+ ``` {.diagram}
4+ example = square 1
5+ ```
6+
Original file line number Diff line number Diff line change 1+ Here is a square:
2+
3+ ``` {.diagram-haskell echo=Above}
4+ example = square 1
5+ ```
6+
Original file line number Diff line number Diff line change 1+ # run from the `test` directory
2+
3+ # diagrams-pandoc will use packages installed in a sandbox in the
4+ # directory from which it's run. It's sufficient that the `test`
5+ # directory have a symlink to the sandbox.
6+
7+ # test diagram
8+ pandoc -t html test1.md --filter diagrams-pandoc -o test1.html -s
9+
10+ # test diagram with code
11+ pandoc -t html test2.md --filter diagrams-pandoc -o test2.html -s
You can’t perform that action at this time.
0 commit comments