Skip to content

Commit

Permalink
example formatter options
Browse files Browse the repository at this point in the history
  • Loading branch information
beets committed Jun 28, 2024
1 parent 5c9ec55 commit 846e41d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
5 changes: 4 additions & 1 deletion _sass/friendly_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */

.language-json-doc .err { border: none; font-style: italic }
.language-js .nx { font-style: italic; color: #007020; }
36 changes: 35 additions & 1 deletion api/rest/v2/observation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,43 @@ and so on.
When querying observations, you need to provide variable, entities, and dates.
Specify variables as a list, in this form:

yaml
```yaml
{
"dcids": [VARIABLE_DCID_1, VARIABLE_DCID_2]
"dcids": ["<VARIABLE_DCID_1>", "<VARIABLE_DCID_2>"]
}
```

json-doc
```json-doc
{
"dcids": [_VARIABLE_DCID1_, _VARIABLE_DCID2_]
"dcids": [VARIABLE_DCID_1, VARIABLE_DCID_2],
"dcids": ["<VARIABLE_DCID_1>", "<VARIABLE_DCID_2>"]
}
```

elixir
```elixir
{
"dcids": [VARIABLE_DCID_1, VARIABLE_DCID_2],
"dcids": ["<VARIABLE_DCID_1>", "<VARIABLE_DCID_2>"]
}
```

js
```js
{
"dcids": [VARIABLE_DCID_1, VARIABLE_DCID_2],
"dcids": ["<VARIABLE_DCID_1>", "<VARIABLE_DCID_2>"]
}
```

go
```go
{
"dcids": [VARIABLE_DCID_1, VARIABLE_DCID_2],
"dcids": ["<VARIABLE_DCID_1>", "<VARIABLE_DCID_2>"]
}
```

Expand Down

0 comments on commit 846e41d

Please sign in to comment.