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

doesn't work with fuzzy links #3

Open
uddyami opened this issue Apr 17, 2019 · 1 comment
Open

doesn't work with fuzzy links #3

uddyami opened this issue Apr 17, 2019 · 1 comment

Comments

@uddyami
Copy link

uddyami commented Apr 17, 2019

if incoming markdown has

[hbrand.com](hbrand.com)
[wbrand.com](wbrand.com)

it doesn't try to open it

@brunoescalona-zz
Copy link

Hi @uddyami!

You can solve the problem with the MovementMethod, more info here.

Here an example:

text_view.text = Markdown.fromMarkdown("[hbrand.com](hbrand.com)")
text_view.movementMethod = LinkMovementMethod.getInstance()

If you still have problems, just let me know

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