Npf-renderer

Latest version: v0.12.1

Safety actively analyzes 622389 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.12.1

Changelog
* Fix attributions being hidden under image contents (https://github.com/syeopite/npf-renderer/pull/9)


**Full Changelog**: https://github.com/syeopite/npf-renderer/compare/0.12.0...0.12.1

0.12.0

Changelog
- (**Breaking**) `format_npf`'s `skip_cropped_image` parameter has been removed as it is now the default and only behavior.
- Added support for video blocks
- Added support for audio blocks
- Added support for poll blocks
- Reworked inline formatting entirely, which fixes numerous bugs such as 2 and makes maintenance much easier
- Reworked how photosets are layed out, the results should now be exactly the same as it is on Tumblr itself
- Fixes raise when an invalid image is given by npf
- Link blocks will now use the URL's hostname as the site name when none is given
- Miscellaneous styling changes

**Full Changelog**: https://github.com/syeopite/npf-renderer/compare/0.11.1...0.12.0

0.10.0

Changelog

- Fix exception on render error
- Fix posts exceeding maximum width on the default styling
- Fix infinite loop due to out of bounds indices when handling inline formatting
- Fix rendering on certain posts utilizing nested text blocks
- Use serif font by default on quote text blocks
- Remove base HTML margins on heading text blocks

**Full Changelog**: https://github.com/syeopite/npf-renderer/compare/0.9.0...0.10.0

0.9.0

This release primarily marks the publishing of `npf-renderer` on PyPI! This means that you can finally install with:

`pip install npf-renderer`

**Full Changelog**: https://github.com/syeopite/npf-renderer/compare/0.8.0...0.9.0

0.8.0

Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.