Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.39 KB

CHANGELOG.md

File metadata and controls

35 lines (19 loc) · 1.39 KB

quarto-d2 development

NEW FUNCTIONALITY

  • 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).

BUG FIXES

  • Added TALA to the list of layouts (#9, @tosaddler).

OTHER

  • Refactor to add helper functions setD2Options, setD2outputPath, and is_nonempty_string.

quarto-d2 1.1.0

NEW FUNCTIONALITY

  • 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.

quarto-d2 1.0.0

Initial release. Main features:

  • Render D2 diagrams directly within your Quarto markdown documents.
  • Control the appearance and layout of your diagrams using global settings or code block attributes.
  • Tune the width and height of the resulting figures using the "width" and "height" arguments.