formatting.txt 736 B

1234567891011121314151617181920212223242526
  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. Line breaks are output as you write it.
  3. Prepending a greater-than symbol in a line makes it a quote:
  4. > This is quoted text
  5. >
  6. > All angle-prepended lines are grouped in the same blockquote
  7. It also allows preformatted text using three backquotes in a single line:
  8. ```
  9. /* this is preformatted text */
  10. struct node {
  11. struct node *prev;
  12. struct node *next;
  13. };
  14. ```
  15. URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://codeberg.org/grunfink/snac2.
  16. Some emojis: X-D <3 :beer: :shrug: :shrug2: