mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-19 21:29:52 -07:00
Add message slash commands (#317)
This commit is contained in:
parent
653287478e
commit
04480eda1b
7 changed files with 352 additions and 101 deletions
37
docs/iamb.1
37
docs/iamb.1
|
@ -188,6 +188,43 @@ Close all but one tab.
|
|||
Go to the preview tab.
|
||||
.El
|
||||
|
||||
.Sh "SLASH COMMANDS"
|
||||
.Bl -tag -width Ds
|
||||
.It Sy "/markdown" , Sy "/md"
|
||||
Interpret the message body as Markdown markup.
|
||||
This is the default behaviour.
|
||||
.It Sy "/html" , Sy "/h"
|
||||
Send the message body as literal HTML.
|
||||
.It Sy "/plaintext" , Sy "/plain" , Sy "/p"
|
||||
Do not interpret any markup in the message body and send it as it is.
|
||||
.It Sy "/me"
|
||||
Send an emote message.
|
||||
.It Sy "/confetti"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display confetti in Matrix clients that support doing so.
|
||||
.It Sy "/fireworks"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display fireworks in Matrix clients that support doing so.
|
||||
.It Sy "/hearts"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display floating hearts in Matrix clients that support doing so.
|
||||
.It Sy "/rainfall"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display rainfall in Matrix clients that support doing so.
|
||||
.It Sy "/snowfall"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display snowfall in Matrix clients that support doing so.
|
||||
.It Sy "/spaceinvaders"
|
||||
Produces no effect in
|
||||
.Nm ,
|
||||
but will display aliens from Space Invaders in Matrix clients that support doing so.
|
||||
.El
|
||||
|
||||
.Sh EXAMPLES
|
||||
.Ss Example 1: Starting with a specific profile
|
||||
To start with a profile named
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue