You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ The following settings are supported:
58
58
59
59
In order to use the custom tags in your YAML file you need to first specify the custom tags in the setting of your code editor. For example, we can have the following custom tags:
60
60
61
-
```YAML
61
+
```yaml
62
62
"yaml.customTags": [
63
63
"!Scalar-example scalar",
64
64
"!Seq-example sequence",
@@ -70,7 +70,7 @@ The !Scalar-example would map to a scalar custom tag, the !Seq-example would map
70
70
71
71
We can then use the newly defined custom tags inside our YAML file:
@@ -205,7 +205,7 @@ You can also use relative paths when working with multi root workspaces.
205
205
206
206
Suppose you have a multi root workspace that is laid out like:
207
207
208
-
```
208
+
```yaml
209
209
My_first_project:
210
210
test.yaml
211
211
my_schema.json
@@ -216,7 +216,7 @@ My_second_project:
216
216
217
217
You must then associate schemas relative to the root of the multi root workspace project.
218
218
219
-
```
219
+
```yaml
220
220
yaml.schemas: {
221
221
"My_first_project/my_schema.json": "test.yaml",
222
222
"My_second_project/my_schema2.json": "test2.yaml"
@@ -229,7 +229,7 @@ yaml.schemas: {
229
229
230
230
Suppose a file is meant to be a component of an existing schema (like a `job.yaml` file in a circleci orb), but there isn't a standalone schema that you can reference. If there is a nested schema definition for this subcomponent, you can reference it using a url fragment, e.g.:
0 commit comments