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

Custom plugin: Asynchronously change text #468

Open
stefan-niedermann opened this issue Jan 29, 2024 · 0 comments
Open

Custom plugin: Asynchronously change text #468

stefan-niedermann opened this issue Jan 29, 2024 · 0 comments

Comments

@stefan-niedermann
Copy link

  • Markwon version: 4.6.2

I am currently working on a plugin based on and similar to your samples.

Additionally I want to replace the text @example with John Doe. The problem is, that I need to do perform network requests to fetch the actual display names which I want to replace the user name with.

Do you have any guidance for that? I know that asynchronously loading and applying stuff is possible so far (AsyncDrawableScheduler and image loading in general), but I have not seen any possibility to replace actual text content asynchronously. Any idea? 🙂

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

1 participant