Skip to content

Commit 0bba7d4

Browse files
committed
getting-started: fix code block highlighting
Correct the language name in codeblocks so highlighting works. Signed-off-by: Mike Szczys <mike@golioth.io>
1 parent 252e03c commit 0bba7d4

File tree

1 file changed

+2
-2
lines changed
  • docs/getting-started/3-device-examples/2-compile-example-code/3-esp-idf

1 file changed

+2
-2
lines changed

docs/getting-started/3-device-examples/2-compile-example-code/3-esp-idf/4-cloud-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ updates the "iteration" endpoint every 10 seconds; what is shown is the most
1717
recent value of that counter. The example app also sets the "my_string" and
1818
"my_data" endpoints once at run time.
1919

20-
```code
20+
```c
2121
golioth_lightdb_set_int_async(client, "iteration", iteration, NULL, NULL);
2222
golioth_lightdb_set_string_sync(client, "my_string", "asdf", 4, 5);
2323
golioth_lightdb_set_int_async(client, "my_int", 42, NULL, NULL);
@@ -35,7 +35,7 @@ result of restarting the device multiple times. Notice that the timestamp
3535
automatically applied to this data can be used to indiate the time of each
3636
reboot.
3737
38-
```code
38+
```c
3939
golioth_lightdb_stream_set_int_async(client, "my_stream_int", 15, NULL, NULL);
4040
```
4141

0 commit comments

Comments
 (0)