snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

formatting.txt (736B)


      1 Messages 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 
      3 Line breaks are output as you write it.
      4 
      5 
      6 Prepending 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 
     12 It 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 
     24 URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://codeberg.org/grunfink/snac2.
     25 
     26 Some emojis: X-D <3 :beer: :shrug: :shrug2: