Skip to content

v0.6.0: Inline SVGs & better API!

Compare
Choose a tag to compare
@bczsalba bczsalba released this 22 Aug 19:52
· 7 commits to master since this release

This release brings a major rewrite to the plugin internals, which happens to allow us to write SVGs directly into HTML, without having to save it as a file somewhere. This fixes by far the biggest issue I personally had with the plugin, it forcing an infinite reload loop upon the first file change.

There are also minor updates to the API to make it a bit more coherent and understandable. There are some updates to the documentation as well.

Changelog

Additions

  • Add support for inserting SVGs inline, without writing files (2c076db)

Refactors

  • Unify the codeblock-formatting API under execution.format_codeblock (2c076db, d20d66e)
  • Rewrite & refactor most of the plugin to be more maintainable (2c076db)
  • Refactor the Python API so that the termage function is called by the CLI, not the other way around. (8fb9b40)