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

MMark is confused by pipes in code spans inside tables #41

Closed
mrkkrp opened this issue Jan 17, 2018 · 3 comments
Closed

MMark is confused by pipes in code spans inside tables #41

mrkkrp opened this issue Jan 17, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@mrkkrp
Copy link
Member

mrkkrp commented Jan 17, 2018

For example, this table is currently considered invalid, while it's perfectly fine:

Thing produced | Quotation syntax | Type
---------------|------------------|----------
Declaration    | `[d| … |]`       | `Q [Dec]`
Expression     | `[e| … |]`       | `Q Exp`
Type           | `[t| … |]`       | `Q Type`
Pattern        | `[p| … |]`       | `Q Pat`
@mrkkrp mrkkrp added the bug label Jan 17, 2018
@mrkkrp mrkkrp added this to the 0.0.5.1 milestone Jan 17, 2018
@mrkkrp mrkkrp self-assigned this Jan 17, 2018
@mrkkrp
Copy link
Member Author

mrkkrp commented Jan 18, 2018

Also, we should be able to recover from parse errors in tables and continue parsing.

@mrkkrp
Copy link
Member Author

mrkkrp commented Jan 19, 2018

Interestingly, GitHub's own markdown processor is also buggy and is fooled by pipes in code spans as well.

@mrkkrp
Copy link
Member Author

mrkkrp commented Jan 20, 2018

Also, we need to figure out what to do when markdown looks like it could be interpreted as a list and as a table at the same time.

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

No branches or pull requests

1 participant