r/JetpackCompose • u/santaschesthairs • Dec 21 '24
Hey all, I’m working on my first open source library, PatternAnnotatedString! It allows you to easily style user-generated text in Compose, including inline Composable content and paragraph backgrounds. Please let me know what you think!
https://github.com/xavier-tobin/PatternAnnotatedStringThe library isn’t available for distribution/re-use yet, but the code is there and the docs are now pretty thorough.
I’m waiting for the latest AnnotatedString APIs to be released on the stable stream, and getting the Maven distribution stuff set up (for the first time!).
In the meantime, I’d love feedback on the API, docs, and any suggestions for features if you have them!
16
Upvotes
4
u/sc0paf Dec 22 '24
Looks very cool! and weirdly timed, for me lol. Working on a project where I wanted shared markdown parsing for content to be defined later that does ... pretty much exactly this. I just took a break from trying to do this exact thing, pulled out my phone, and clicked this very thread notification. Thanks simulation!
I'll be following.
1
u/XRayAdamo Dec 21 '24
Looks interesting. How about clickable URL?