Change RST code formatting markup to Markdown

This commit is contained in:
Will 2021-01-27 12:14:31 -08:00 committed by Richard van der Hoff
parent c7cf90abfa
commit 27f8867aa0
158 changed files with 931 additions and 931 deletions

View file

@ -12,7 +12,7 @@ properties:
differ from the intrinsic dimensions of the image file.
type: integer
mimetype:
description: The mimetype of the image, e.g. ``image/jpeg``.
description: The mimetype of the image, e.g. `image/jpeg`.
type: string
size:
description: Size of the image in bytes.
@ -31,6 +31,6 @@ properties:
thumbnail_info:
allOf:
- $ref: thumbnail_info.yaml
description: Metadata about the image referred to in ``thumbnail_url``.
description: Metadata about the image referred to in `thumbnail_url`.
title: ImageInfo
type: object

View file

@ -12,7 +12,7 @@ properties:
differ from the intrinsic dimensions of the image file.
type: integer
mimetype:
description: The mimetype of the image, e.g. ``image/jpeg``.
description: The mimetype of the image, e.g. `image/jpeg`.
type: string
size:
description: Size of the image in bytes.

View file

@ -5,7 +5,7 @@ properties:
room_id:
description: |-
The ID of the room associated with this event. Will not be present on events
that arrive through ``/sync``, despite being required everywhere else.
that arrive through `/sync`, despite being required everywhere else.
type: string
required:
- room_id

View file

@ -20,7 +20,7 @@ description: In addition to the Room Event fields, State Events have the followi
additional fields.
properties:
prev_content:
description: Optional. The previous ``content`` for this event. If there is no
description: Optional. The previous `content` for this event. If there is no
previous content, this key will be missing.
title: EventContent
type: object
@ -29,7 +29,7 @@ properties:
of room state. This value is often a zero-length string. The presence of this
key makes this event a State Event.
State keys starting with an ``@`` are reserved for referencing user IDs, such
State keys starting with an `@` are reserved for referencing user IDs, such
as room members. With the exception of a few events, state events set with a
given user's ID as the state key MUST only be set by that user.
type: string

View file

@ -29,6 +29,6 @@ properties:
transaction_id:
description: |
The client-supplied transaction ID, for example, provided via
``PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}``,
`PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}`,
if the client being given the event is the same one which sent it.
type: string