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

Handle inline code inside bold/italics/links #23

Open
ariabuckles opened this issue Oct 19, 2016 · 1 comment
Open

Handle inline code inside bold/italics/links #23

ariabuckles opened this issue Oct 19, 2016 · 1 comment

Comments

@ariabuckles
Copy link
Owner

ariabuckles commented Oct 19, 2016

Currently, _italic text and code with_ pointers* doesn't match correctly. [Note: apparently it doesn't match correctly in gfm, either, so that's some validation :/.]

Handling this correctly (especially with simple-markdown's regex-based design) is tricky, but important.

We might have to write a custom matcher function for the rules where this is most important, instead of using regex matchers. For an example, see the math matching in Perseus.

@kevinbarabash
Copy link

@ariabuckles would *code example: console.log(2 * 2);* be a failing example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants