Fix request examples syntax highlighting

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-12-17 10:36:44 +01:00
parent c9523087b8
commit c71c1e225b
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B

View file

@ -446,11 +446,12 @@ achieved by including the `as_token` on a `/register` request, along
with a login type of `m.login.application_service` to set the desired
user ID without a password.
```
```http
POST /_matrix/client/v3/register
Authorization: Bearer YourApplicationServiceTokenHere
```
Content:
```json
{
"type": "m.login.application_service",
"username": "_irc_example"
@ -476,11 +477,12 @@ along with a login type of `m.login.application_service`:
{{% added-in v="1.2" %}}
```
```http
POST /_matrix/client/v3/login
Authorization: Bearer YourApplicationServiceTokenHere
```
Content:
```json
{
"type": "m.login.application_service",
"identifier": {