Releases: otovo/python-portabletext-html
Releases · otovo/python-portabletext-html
v1.1.3
v1.1.2
v1.1.1
- 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
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
Support user-defined custom marks
Fixed a bug, where user defined custom marks weren't registered by the renderer correctly.