{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"}],"enrichment":{"capability":"Converts Contentful RichText field data into HTML or custom formats by rendering a tree of content nodes with overridable handlers for each node type.","skillfed_tags":["contentful","content-delivery","markup-rendering"],"use_cases":["Render Contentful blog post bodies to HTML for display on a website","Convert RichText documents to plain text for search indexing or email previews","Implement custom rendering for embedded Contentful entries (e.g., product references within marketing copy)","Serialize RichText to Markdown or a custom markup format for downstream processing","Handle unknown or future node types gracefully by providing a fallback renderer"],"what_it_does":"This package transforms Contentful RichText field data\u2014a structured document format from Contentful's content delivery API\u2014into renderable output, defaulting to HTML. It works by walking a tree of content nodes (paragraphs, headings, links, embedded entries, etc.) and applying a handler to each node type. The rendering logic is fully customizable: you can override any node handler to serialize to plain text, Markdown, JSON, or any other format you need.\n\nIt's designed to pair with the Contentful Delivery SDK and handles the common case where you fetch RichText content from Contentful and need to display it in a web app or other output medium. The library includes sensible HTML defaults but requires you to implement custom renderers for embedded entries (e.g., product cards, author bios) since only you know your content model.","worth_installing":"Yes. This is a focused, stable library with no dependencies, active maintenance, and a permissive license. Install it if you're using Contentful's RichText field type and need to render or transform that content in Python. The customizable renderer design makes it suitable for both simple HTML output and complex content workflows."},"id":"rich-text-renderer","links":{"html":"https://skillfed.io/packages/rich-text-renderer","md":"https://skillfed.io/packages/rich-text-renderer.md","pypi":"https://pypi.org/project/rich-text-renderer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-10-26","license_spdx":null,"license_treatment":"permissive","name":"rich-text-renderer","python_support":"unspecified","summary":"Contentful Rich Text Renderer"},"popularity":{"monthly_downloads":358284,"position":7263,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.8"}
