Markdown in Messages#
To ensure the richness and portability of user messages, we have made some extensions to the basic Markdown syntax
Media#
There are currently three types of media
Image
Video
File
There are two types of medias tags in messages
Network Media (__ Note: For security reasons, the official OurChat client will clearly mark content from the Internet. We strongly recommend that third-party clients also implement this function __)
Server Media
In the message, a media tag is written as

Among them, the character “T” represents the media type
Character |
Media type |
|---|---|
I |
Image |
V |
Video |
F |
File |
The character ‘S’ represents the source
Character |
Source |
content |
|---|---|---|
O |
OurChat Server |
A non-negative integer i indicates that this medium is the i-th item in the involvedFile |
N |
Network |
{Protocol},{path} |
Therefore, the image from the OurChat server is written as:

the image from network (key: xxx) is written as:
