summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-11-18 08:24:16 +0100
committerGravatar default2022-11-18 08:24:16 +0100
commit733692bc9a008bf67dc91d08962c796def3f978f (patch)
tree3641ac1d617a3a9d04d56502c7bdcdf1ba9d9f40
parentNew function enqueue_output_to_actor(). (diff)
downloadpenes-snac2-733692bc9a008bf67dc91d08962c796def3f978f.tar.gz
penes-snac2-733692bc9a008bf67dc91d08962c796def3f978f.tar.xz
penes-snac2-733692bc9a008bf67dc91d08962c796def3f978f.zip
[examples/formatting.txt] new file.
Diffstat (limited to '')
-rw-r--r--examples/formatting.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/formatting.txt b/examples/formatting.txt
new file mode 100644
index 0000000..40a3f78
--- /dev/null
+++ b/examples/formatting.txt
@@ -0,0 +1,24 @@
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 less-than 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.