File: formatting.txt

package info (click to toggle)
snac2 2.88-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,800 kB
  • sloc: ansic: 22,685; sh: 179; makefile: 69; python: 34
file content (26 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.

Line breaks are output as you write it.


Prepending a greater-than symbol in a line makes it a quote:

> This is quoted text
>
> All angle-prepended lines are grouped in the same blockquote

It also allows preformatted text using three backquotes in a single line:

```
  /* this is preformatted text */

  struct node {
      struct node *prev;
      struct node *next;
  };

```

URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://codeberg.org/grunfink/snac2.

Some emojis: X-D <3 :beer: :shrug: :shrug2: