Skip to content

Releases: otovo/python-portabletext-html

v1.1.3

21 Jun 10:10
ce9ecbb
Compare
Choose a tag to compare

Fix a bug where a custom block could not be placed directly after a list.

v1.1.2

27 Apr 08:17
31718a7
Compare
Choose a tag to compare

Improve error handling in renderer.py.

v1.1.1

14 Mar 08:12
Compare
Choose a tag to compare
  • Support custom marks with render_text method
  • If a block content has multiple custom marks defined, only the first one will be applied

v1.1.0

10 Feb 08:33
Compare
Choose a tag to compare

Add a new render_text method to MarkerDefinition.
The motivation behind adding it is to give a library user more flexibility when they want to render a portable text block, for example:

  • a text block is supposed to be rendered under a certain condition
  • a content inside a text block is a placeholder

v1.0.1

01 Feb 13:20
Compare
Choose a tag to compare

Support user-defined custom marks

Fixed a bug, where user defined custom marks weren't registered by the renderer correctly.

v1.0.0

29 Nov 09:39
a4828d8
Compare
Choose a tag to compare

Package re-release under new name.

The package was renamed from sanity-html to portabletext-html, so the naming is more in line with other portable text-related tools and packages.

v0.0.7

29 Jun 12:08
Compare
Choose a tag to compare
v0.0.7 Pre-release
Pre-release

Removes streamhandler and debug log-level configuration. This way logging can be configured downstream, and can be opted into rather than opted out of.

v0.0.6

09 Jun 08:46
Compare
Choose a tag to compare
v0.0.6 Pre-release
Pre-release

Ensure that the publishing workflow works after renaming package from python-sanity-html to sanity-html

v0.0.4

19 Apr 10:32
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release
Bump version to v0.0.4

v0.0.3

15 Apr 07:57
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

Test release