-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
pandoc -t html demo.md --filter diagrams-pandoc -o demo.html -s
gives following error message:
Error while interpreting
example = square 1
<interactive>:2:1:
Couldn't match expected type ‘V2’
with actual type ‘V (IO (QDiagram Cairo V2 Double Any))’
In the expression: example
In an equation for ‘e_1’: e_1 = example
In the expression:
(let e_1 = example in e_1) :: IO (QDiagram Cairo V2 Double Any)
with demo.md containing:
Here is a square :
''' {.diagram}
example = square 1
'''
Use following package versions:
- diagrams-1.4
- diagrams-builder-0.7.2.4
- diagrams-cairo-1.3.1.1
- diagrams-contrib-1.4.0.1
- diagrams-core-1.3.0.8
- diagrams-core-1.4
- diagrams-lib-1.3.1.4-
- diagrams-lib-1.4.1
- diagrams-pandoc-0.2
- diagrams-solve-0.1.0.1
- diagrams-svg-1.4.1
Metadata
Metadata
Assignees
Labels
No labels