From c02e1f1af96d64f38924008ef50caa33f51e8df2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 7 Jun 2022 16:58:56 -0600 Subject: [PATCH] Fix code block examples for rich replies --- content/client-server-api/modules/rich_replies.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/client-server-api/modules/rich_replies.md b/content/client-server-api/modules/rich_replies.md index 46af01de..42cf6fda 100644 --- a/content/client-server-api/modules/rich_replies.md +++ b/content/client-server-api/modules/rich_replies.md @@ -71,7 +71,7 @@ This is where the reply goes The `formatted_body`, if present and using an associated `format` of `org.matrix.custom.html`, should use the following template: -``` +```html
In reply to @@ -114,7 +114,7 @@ Using the prefix sequence, the first line of the related event's `body` should be prefixed with the user's ID, followed by each line being prefixed with the fallback prefix sequence. For example: -``` +```text > <@alice:example.org> This is the first line > This is the second line @@ -129,7 +129,7 @@ Similar to the fallback for `m.text`, each line gets prefixed with the fallback prefix sequence. However an asterisk should be inserted before the user's ID, like so: -``` +```text > * <@alice:example.org> feels like today is going to be a great day This is the reply @@ -138,7 +138,7 @@ This is the reply The `formatted_body` has a subtle difference for the template where the asterisk is also inserted ahead of the user's ID: -``` +```html
In reply to @@ -160,12 +160,12 @@ filename alone may not be descriptive, the related event's `body` should be considered to be `"sent a file."` such that the output looks similar to the following: -``` +```text > <@alice:example.org> sent a file. This is the reply ``` -``` +```html
In reply to