-
Added minimal CI testing using GitHub actions (#10).
-
Make SVG as the default diagram format when using the Typst output format (#7, @elipousson).
-
Add support for reading d2 diagrams from external files using
file
parameter. Block text is replaced with file contents (#7, @elipousson). -
Use Pandoc mediabag for rendered diagram images when
embed_type="link"
(#7, @elipousson). -
Add support for alternate code block syntax without curly braces (#7, @elipousson).
- Added TALA to the list of layouts (#9, @tosaddler).
- Refactor to add helper functions
setD2Options
,setD2outputPath
, andis_nonempty_string
.
- When the output type is html and the image format is svg, also setting the
embed_type="raw"
will embed the svg directly into the html document (#1). This is useful enabling interactive content such as hover or links to work.
Initial release. Main features: