Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend styling options for custom LinkableElements like @mention, #hashTag, custom names [docs](https://example.com). #130

Open
Vov4yk opened this issue Dec 21, 2023 · 1 comment

Comments

@Vov4yk
Copy link

Vov4yk commented Dec 21, 2023

Thank you for good library. I'm working on some extension for it on my project.

There is custom Linkifier example I've described in other issue here #124 (comment) .

It works, but would be nice cusmize it's style. So I'm wondering why List<InlineSpan>? buildTextSpanChildren() and TextSpan buildTextSpan() are global? I wish it would live inside any library's object. It that case I could do extends Linkify and override methods to handle my own LinkableElements.
Thank you.

@Vov4yk Vov4yk changed the title Extend styling options for custom LinkableElements like @mention, #hashTap, custom names [docs](https://example.com). Extend styling options for custom LinkableElements like @mention, #hashTag, custom names [docs](https://example.com). Dec 21, 2023
@fraboniface
Copy link

+1

It would be great if at least linkStyle could depend on the (type of the) LinkableElement. To take my case as example, I would like links and emails to be underlined and user tags to be bold and not underlined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants