Skip to content

Fix (julia)markdown parsing#1137

Merged
davidanthoff merged 1 commit intomasterfrom
sp/fix-md-parsing
Aug 15, 2022
Merged

Fix (julia)markdown parsing#1137
davidanthoff merged 1 commit intomasterfrom
sp/fix-md-parsing

Conversation

@pfitzseb
Copy link
Copy Markdown
Member

This adds a new _language_id field to TextDocument, which
can be queried downstream. It's important to not look at
line endings here, because the client may set the language
to some arbitrary value which may or may not match
the extension.

An added bonus is that we don't try to parse quite as much
invalid julia code -- the previous implementation would try to
parse each markdown file as Julia and then extract Julia code
blocks from that.

This adds a new _language_id field to TextDocument, which
can be queried downstream. It's important to not look at
line endings here, because the client may set the language
to some arbitrary value which may or may not match
the extension.
@davidanthoff davidanthoff merged commit 09f087e into master Aug 15, 2022
@davidanthoff davidanthoff deleted the sp/fix-md-parsing branch August 15, 2022 15:18
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

Successfully merging this pull request may close these issues.

2 participants