Use json with comments*

pull/4211/head
lda 1 year ago
parent 38eb76a80c
commit 9ed7764ca7

@ -21,7 +21,7 @@ Matrix events. More information is available at WebXDC's own specification)
To start a WebXDC event, a client may start by sending a `m.webxdc.start` event,
formatted as such:
```json
```jsonc
{
"content": {
"name": "Storm on Mt. Ooe", // optional, must be a string
@ -64,7 +64,7 @@ window.webxdc.sendUpdate(
);
```
```json
```jsonc
{
"content": {
"m.relates_to": { "event_id": "$WebXDCStart1", "rel_type": "m.webxdc" },

Loading…
Cancel
Save