-
Notifications
You must be signed in to change notification settings - Fork 588
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
[Markdown] support lists in blockquotes, code fences, multiline inline code and multiline emphasis #806
Merged
Merged
[Markdown] support lists in blockquotes, code fences, multiline inline code and multiline emphasis #806
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
97eb093
[Markdown] Block quote simplification
keith-hall 7a60853
[Markdown] to interrupt a paragraph, an ordered list must begin with 1
keith-hall 8a6ae59
[Markdown] support lists in blockquotes and codeblocks in lists
keith-hall b568304
[Markdown] support HTML in list items
keith-hall 41f6fd8
[Markdown] scope the exclamation mark punctuation that begins an image
keith-hall f1cd1a0
[Markdown] use variable for link title regex
keith-hall 4aac501
[Markdown] add begin and end scopes plus more tests
keith-hall a6a00a5
[Markdown] support inline code and nested square brackets in link text
keith-hall 706278f
[Markdown] remove more incompatible regexs
keith-hall 77533c2
[Markdown] escaping backticks inside inline code is not possible
keith-hall 5ec0bc3
[Markdown] add more tests
keith-hall faed126
[Markdown] remove lookbehinds, add tests
keith-hall 06e33bb
[Markdown] remove backreferences
keith-hall 367afa2
[Markdown] more lookbehinds removed
keith-hall 4abd6fb
[Markdown] more tests
keith-hall dd62000
[Markdown] inline code improvements
keith-hall 3441944
[Markdown] support code fences
keith-hall 588d4dc
[Markdown] support multi-line inline code
keith-hall 77a7317
[Markdown] final incompatible regex patterns removed
keith-hall efa843e
[Markdown] allow emphasis to end/start inside nested HTML tags
keith-hall 515910b
[Markdown] Add comment about target implementation compatibility
keith-hall 2846d9c
[Markdown] make context and variable names match CommonMark spec
keith-hall 5900db7
[Markdown] a couple more hard line break test assertions
keith-hall 1878944
[Markdown] support multi-line emphasis
keith-hall 71f671d
[Markdown] allow thematic breaks to be highlighted in list items
keith-hall 867b093
[Markdown] support emphasis in link text
keith-hall 6724234
[Markdown] allow HTML and images inside links
keith-hall ab3355d
[Markdown] support multi line link titles
keith-hall 24785e6
[Markdown] more tests for deeply nested list items
keith-hall 33bda54
[Markdown] better (non) code fence handling
keith-hall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest this instead:
This allows multi-line inline raw sequences again and isn't explicit about the number of backticks allowed, which is arbitrary. I don't know if this actually represents how markdown parsers work, but some testing here on github seemed to confirm this behavior.
Should also exit on empty lines. See:
test `test
test`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FichteFoll thanks, I have just pushed a new commit with your proposal :)