Skip to content
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

Avoid conflicts with Markdown syntax #3

Open
jpmvferreira opened this issue Apr 9, 2021 · 0 comments
Open

Avoid conflicts with Markdown syntax #3

jpmvferreira opened this issue Apr 9, 2021 · 0 comments
Labels
bug Something isn't working discussion required Further discussion required

Comments

@jpmvferreira
Copy link
Owner

Some triggers might have characters used as special characters in the Markdown syntax, for example from my espanso-mega-pack repository the package markdown-shortcuts has the following:

- trigger: ":strike:"
  replace: "~~$|$~~"

Which when transformed into the Markdown table in plain text is ~~$|$~~ which obviously in Markdown looks like $|$.

Ignoring the issue with the | character on tables, as it was mentioned in #2, adding a way to detect this and using the back slash to escape special characters, e.g.: \~\~$|$~~ which renders to ~~$|$~~, would be great.

@jpmvferreira jpmvferreira added bug Something isn't working discussion required Further discussion required labels Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discussion required Further discussion required
Projects
None yet
Development

No branches or pull requests

1 participant