Skip to content

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Aug 7, 2024

This bumps our marked version from 4.x to 14.x. This fixes a number of bugs in markdown parsing however is somewhat risky as we've missed so many versions. Hoping to merge early in the iteration so we can catch any potential issues

cc @alexr00 @roblourens

This bumps our marked version from 4.x to 14.x. This fixes a number of bugs in markdown parsing however is somewhat risky as we've missed so many versions. Hoping to merge early in the iteration so we can catch any potential issues
@mjbvz mjbvz added this to the August 2024 milestone Aug 7, 2024
@mjbvz mjbvz self-assigned this Aug 7, 2024
return null;
}

function completeCodeBlock(tokens: marked.Token[], leader: string): marked.Token[] {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new version of marked does this automatically. However it does not close the other elements automatically so we can't remove all of fillInIncompleteTokens

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, if it did it for all elements automatically I would be so annoyed haha

@mjbvz mjbvz merged commit 8245d42 into microsoft:main Aug 8, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants