Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Should update to tree-sitter-markdown #245

Open
1 task done
bennypowers opened this issue Jul 30, 2021 · 0 comments
Open
1 task done

Should update to tree-sitter-markdown #245

bennypowers opened this issue Jul 30, 2021 · 0 comments

Comments

@bennypowers
Copy link

Prerequisites

Description

language-gfm uses the old textmate grammar for markdown, which means it's using the oold grammars for embedded languages as well. language-gfm should use an up-to-date tree sitter grammar, e.g. tree-sitter-markdown

Steps to Reproduce

  1. Use language-gfm
  2. embedded grammars may not support up-to-date features, e.g. ?. ?? optional chaining and nullish coalescing in JavaScript

Expected behavior:

JavaScript with embedded html, itself embedded in markdown should render like:
Screen Shot 2021-07-30 at 11 51 59

Actual behavior:

Screen Shot 2021-07-30 at 11 52 37

Reproduces how often:

100%

Versions

atom --version

Atom : 1.58.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1

apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.58.0
python 2.7.16
git 2.28.0

Additional Information

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

No branches or pull requests

1 participant