Skip to content

Commit

Permalink
Merge pull request #183 from Interactions-HSG/danaivach-docs-turtle-s…
Browse files Browse the repository at this point in the history
…yntax-highlighting

docs(readme) turtle syntax highlighting
  • Loading branch information
danaivach authored Aug 19, 2024
2 parents 61b4117 + e13f822 commit a7f441c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ String description = new TDGraphWriter(td)

The generated TD is:

```
```turtle
@prefix td: <https://www.w3.org/2019/wot/td#> .
@prefix htv: <http://www.w3.org/2011/http#> .
@prefix hctl: <https://www.w3.org/2019/wot/hypermedia#> .
Expand Down Expand Up @@ -304,7 +304,7 @@ primitive data type (`BooleanSchema`, `NumberSchema`, `IntegerSchema`, `StringSc
For instance, a device may provide an action affordance to register its user, where the action
affordance is specified by the device's TD as follows:

```text
```turtle
[ a td:ActionAffordance, onto:LogIn;
td:name "logIn";
td:title "Log In";
Expand Down Expand Up @@ -372,7 +372,7 @@ We can extract payloads from responses similar to how we set payloads for reques

Given the following property affordance for reading a humidity value using a CoAP device:

```text
```turtle
[ a td:PropertyAffordance, miro:Humidity, js:ObjectSchema;
td:name "humidity";
td:title "Humidity";
Expand Down

0 comments on commit a7f441c

Please sign in to comment.