Astro RichText Lexical Renderer

Renders Lexical rich text content as semantic HTML in Astro components

Community 106 976/wk MIT v0.3.4

Installation

pnpm add @jhb.software/astro-payload-richtext-lexical

About

Astro RichText Lexical Renderer turns Lexical rich text from Payload into plain HTML inside an Astro site. Headings, paragraphs, formatted text, links, lists, quotes, tables and horizontal rules come out as semantic markup with no built-in styling, so your own CSS or a typography plugin decides the look. Level two and three headings get anchor IDs by default, which makes table of contents links easy to add.

Uploaded media and custom blocks are handed to Astro components you write, so images and embedded blocks can match your design. Internal links are resolved to page paths from the populated document, and you can supply your own mapping for other URL structures.

Package info

Package name
@jhb.software/astro-payload-richtext-lexical
Latest version
0.3.4
Unpacked size
36 kB
License
MIT
Weekly downloads
976
Last publish
Jul 14, 2026

More from jhb-software

View profile

Admin chat view where editors read, create and update Payload content in plain language

Generates image alt text with AI in the admin panel, with bulk runs and a coverage widget

Translates Payload content between locales in the admin panel using AI or custom resolvers

Shows Vercel deployment status in a dashboard widget and triggers production redeploys

Stores Payload uploads in Cloudinary with direct browser uploads and public IDs

Lets AI agents and scripts read, edit and sync Payload content from the command line

React hook and refresh component for Payload Live Preview in frontend apps

Vue composable that wires a Payload Live Preview into a Vue frontend

React admin bar that puts Payload editing controls on your frontend pages

Client SDK that streams live Payload draft edits into a frontend preview

Renders Lexical rich text content from Payload in Astro sites

Manifest, linter and Payload block generator for a design system's components