-
Notifications
You must be signed in to change notification settings - Fork 74
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
[QUESTION] - Markdown square-bracket links #632
Comments
Hi @Michota, as far as I know ExpensiMark doesn't support Perhaps it would be the best to implement it directly in Keep in mind that you can also implement your own Markdown parser (it must be workletized, though) and pass it to |
@Michota Just wanted to ask, do you use We're considering dropping support for the old architecture since Expensify uses this library only on the new architecture and we don't really maintain the old implementation for Paper. |
Weird thing: I have |
@Michota Try |
Am I doing something wrong, or the parser simply does not support the inner links (
[[filename]]
) syntax?If I understand correctly, the ExpansiMark does in fact follow this syntax, right? That's how I understand this regex:
const MARKDOWN_LINK_REGEX = new RegExp(`\\[([^\\][]*(?:\\[[^\\][]*][^\\][]*)*)]\\(${UrlPatterns.MARKDOWN_URL_REGEX}\\)(?![^<]*(<\\/pre>|<\\/code>))`, 'gi');
If not, can I implement this function by modyfing
parseExpensiMark.ts
, or do I need to dig under the hood, in the ExpansiMark itself?Is there any tutorial or documentation article which would guide me how to add custom syntaxes for markdown?
The text was updated successfully, but these errors were encountered: