2.52 v/snac0 / examples / formatting.txt
 1Messages in `snac` allow a special subset of Markdown, that includes *emphasized*, **strong** and `monospaced` styles by surrounding text with one asterisk, two asterisks or backquotes, respectively.
 2
 3Line breaks are output as you write it.
 4
 5
 6Prepending a greater-than symbol in a line makes it a quote:
 7
 8> This is quoted text
 9>
10> All angle-prepended lines are grouped in the same blockquote
11
12It also allows preformatted text using three backquotes in a single line:
13
14```
15  /* this is preformatted text */
16
17  struct node {
18      struct node *prev;
19      struct node *next;
20  };
21
22```
23
24URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://codeberg.org/grunfink/snac2.
25
26Some emojis: X-D <3 :beer: :shrug: :shrug2: