Skip to content

Commit df7fcae

Browse files
author
Kumar Harsh
committed
docs(readme): add markdown in syntax highlighting
1 parent 26b6bd1 commit df7fcae

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ VSCode extension for GraphQL schema authoring & consumption.
3535
+ Ruby
3636
+ Cucumber
3737
+ ReasonML/OCaml
38+
+ Markdown fenced code-blocks
3839
+ (Submit a PR to support your language!)
3940

4041
* **Snippets**: Some commonly used snippets are provided which help while writing mutations and queries, such as defining types, interfaces and input types.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,6 @@
114114
"meta.embedded.block.graphql": "graphql"
115115
}
116116
},
117-
{
118-
"injectTo": [
119-
"source.reason",
120-
"source.ocaml"
121-
],
122-
"scopeName": "inline.graphql.re",
123-
"path": "./syntaxes/graphql.re.json",
124-
"embeddedLanguages": {
125-
"meta.embedded.block.graphql": "graphql"
126-
}
127-
},
128117
{
129118
"injectTo": [
130119
"source.ruby"
@@ -143,13 +132,24 @@
143132
"path": "./syntaxes/graphql.feature.json"
144133
},
145134
{
135+
"injectTo": [
136+
"text.html.markdown"
137+
],
146138
"scopeName": "markdown.graphql.codeblock",
147139
"path": "./syntaxes/graphql.markdown.codeblock.json",
140+
"embeddedLanguages": {
141+
"meta.embedded.block.graphql": "graphql"
142+
}
143+
},
144+
{
148145
"injectTo": [
149-
"text.html.markdown"
146+
"source.reason",
147+
"source.ocaml"
150148
],
149+
"scopeName": "inline.graphql.re",
150+
"path": "./syntaxes/graphql.re.json",
151151
"embeddedLanguages": {
152-
"meta.embedded.block.graphql": "GraphQL"
152+
"meta.embedded.block.graphql": "graphql"
153153
}
154154
}
155155
],

0 commit comments

Comments
 (0)