From a6928091960f2e677a937a443488ae85742bca55 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 8 Jun 2023 17:44:24 +0300 Subject: [PATCH] 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 --- pages/matrix.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/matrix.markdown b/pages/matrix.markdown index 9abcf43..867b21b 100644 --- a/pages/matrix.markdown +++ b/pages/matrix.markdown @@ -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!",