-
Notifications
You must be signed in to change notification settings - Fork 65
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
Define mentions #167
Comments
Currently, the Markdown parser is hard-coded in the library, but long-term we plan to add possibility to use custom parsers implemented in JavaScript as worklets. This will allow for handling cases just like this one and many more. |
Right now it seems like only |
Yes, we're working on it in #439 |
@nandorojo @pleerock Now that #439 is merged you should be able to implement your own custom logic. |
hey @tomekzaw thanks for the update. Are there docs somewhere on how this kind of logic could allow us to tag users, hashtags, etc? Or maybe an example? |
@nandorojo There's an example in the README: https://github.com/Expensify/react-native-live-markdown?tab=readme-ov-file#parsing-logic You just need to replace the logic with your code to detect mentions/hashtags. Let me know if you need more details. |
Is there a way to define the possible names which can get mentioned? Something like:
The text was updated successfully, but these errors were encountered: