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
I need to escape these when writing the page title in Markdown.
Escaping these manually is very cumbersome and should be formatted when copying.
Some considerations
It may be necessary to note that [ ~ ] becomes \[ ~ \] when escaped, and MathJax may recognize it as a formula in some cases.
It may be useful to leave the escape character to the user.
Additional request
This is a rare case so I'm not sure if the extension should support it, but some titles contain HTML tags.
I'll consider this as edge case, although this can be solved like how we prevent XSS attack -- just sanitize/purify the title (convert these special character to HTML character codes)
I'll try to implement this feature in my fork if I have time.
Format the escape character
Markdown has some escape characters.
It's not a complete list, but it looks like this:
I need to escape these when writing the page title in Markdown.
Escaping these manually is very cumbersome and should be formatted when copying.
Some considerations
It may be necessary to note that
[
~]
becomes\[
~\]
when escaped, and MathJax may recognize it as a formula in some cases.It may be useful to leave the escape character to the user.
Additional request
This is a rare case so I'm not sure if the extension should support it, but some titles contain HTML tags.
Copy result:
In this case, the HTML tag needs to be escaped with
`
as inline-code.I'm very happy if this is also formatted.
It's very useful extension, thank you.
The text was updated successfully, but these errors were encountered: