pages/matrix: switch to jsonnet syntax highlighting

https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers is used by Jekyll and recognises it and I didn't find json-doc with quick search
This commit is contained in:
Aminda Suomalainen 2023-06-08 17:44:24 +03:00
parent 507f4eac70
commit a692809196
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -301,34 +301,34 @@ topic_.
Sample events for `/devtools`
```json5
```jsonnet
// m.room.join_rules
{
join_rule: "knock",
}
```
```json5
```jsonnet
// m.room.history_visibility
{
history_visibility: "invited",
}
```
```json5
```jsonnet
// m.room.avatar
{
url: "mxc://example.org/YouShouldKnowHowToGetThis",
}
```
````json5
````jsonnet
// m.room.name
{
"name": "Room Awesome!"
}
```json5
```jsonnet
// m.space.parent
// state key is room id with !
{
@ -340,7 +340,7 @@ Sample events for `/devtools`
}
````
```json5
```jsonnet
// m.room.topic
{
topic: "This is my awesome topic \n Dare to disagree!",