You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Markdown links will automatically be URL encoded when turned into an HTML anchor.
Is it possible to process the url string instead of it gettingURL encoded?
For example:
This is [a test](#|MY_URL|#). Normal [link](https://url.com/my|title)
will be turned into:
This is <ahref="#%7CMY_URL%7C#">a test</a>. Normal <ahref="https://url.com/my%7Ctitle">link</a>
I want to match urls that start with #| and end with |# and replace that with *| and |* consecutively and skip url encoding (because it will be sent to another process that expects this format).
So that the output would be:
This is <ahref="*|MY_URL|*">a test</a>. Normal <ahref="https://url.com/my%7Ctitle">link</a>
Is that possible by creating an extension for example?
The text was updated successfully, but these errors were encountered:
Is that possible by creating an extension for example?
Yes, there are many potential solutions, but maybe inheriting LinkInlineRenderer to override the default renderer and avoid the encoding is a good place to try.
Markdown links will automatically be URL encoded when turned into an HTML anchor.
Is it possible to process the url string instead of it gettingURL encoded?
For example:
will be turned into:
I want to match urls that start with
#|
and end with|#
and replace that with*|
and|*
consecutively and skip url encoding (because it will be sent to another process that expects this format).So that the output would be:
Is that possible by creating an extension for example?
The text was updated successfully, but these errors were encountered: