mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-12-24 12:12:37 +01:00
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:
parent
507f4eac70
commit
a692809196
@ -301,34 +301,34 @@ topic_.
|
|||||||
|
|
||||||
Sample events for `/devtools`
|
Sample events for `/devtools`
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
// m.room.join_rules
|
// m.room.join_rules
|
||||||
{
|
{
|
||||||
join_rule: "knock",
|
join_rule: "knock",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
// m.room.history_visibility
|
// m.room.history_visibility
|
||||||
{
|
{
|
||||||
history_visibility: "invited",
|
history_visibility: "invited",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
// m.room.avatar
|
// m.room.avatar
|
||||||
{
|
{
|
||||||
url: "mxc://example.org/YouShouldKnowHowToGetThis",
|
url: "mxc://example.org/YouShouldKnowHowToGetThis",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
````json5
|
````jsonnet
|
||||||
// m.room.name
|
// m.room.name
|
||||||
{
|
{
|
||||||
"name": "Room Awesome!"
|
"name": "Room Awesome!"
|
||||||
}
|
}
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
// m.space.parent
|
// m.space.parent
|
||||||
// state key is room id with !
|
// state key is room id with !
|
||||||
{
|
{
|
||||||
@ -340,7 +340,7 @@ Sample events for `/devtools`
|
|||||||
}
|
}
|
||||||
````
|
````
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
// m.room.topic
|
// m.room.topic
|
||||||
{
|
{
|
||||||
topic: "This is my awesome topic \n Dare to disagree!",
|
topic: "This is my awesome topic \n Dare to disagree!",
|
||||||
|
Loading…
Reference in New Issue
Block a user