halilozercan / compose-richtext

A collection of Compose libraries for advanced text formatting and alternative display types.
https://halilibo.com/compose-richtext
Apache License 2.0
751 stars 60 forks source link

Map HTML tags to custom composables #74

Open tunjid opened 2 years ago

tunjid commented 2 years ago

In the past in React, I've used https://github.com/remarkjs/react-markdown to render url tags with custom react components. For example a github link can be rendered as card with the projects open graph data.

I'd be nice if we had a way to intercept the HTML tags being rendered, read metadata from within it and substitute in our own custom composable.

HuixingWong commented 10 months ago

Any update on this issues ?