Markwon icon indicating copy to clipboard operation
Markwon copied to clipboard

Custom plugin: Asynchronously change text

Open stefan-niedermann opened this issue 2 years ago • 0 comments

  • 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? :slightly_smiling_face:

stefan-niedermann avatar Jan 29 '24 13:01 stefan-niedermann