summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2026-02-28 10:06:16 +0100
committerGravatar grunfink2026-02-28 10:06:16 +0100
commit47fba4ac9e8472cbd73d754d97c40793b21c6ce8 (patch)
tree64c207893694b5add1d5b55fb48987320c591ae6
parentMerge pull request 'Update po/cs.po' (#562) from pmjv/snac2:master into master (diff)
downloadsnac2-47fba4ac9e8472cbd73d754d97c40793b21c6ce8.tar.gz
snac2-47fba4ac9e8472cbd73d754d97c40793b21c6ce8.tar.xz
snac2-47fba4ac9e8472cbd73d754d97c40793b21c6ce8.zip
Updated formatting.txt.
-rw-r--r--examples/formatting.txt28
1 files changed, 25 insertions, 3 deletions
diff --git a/examples/formatting.txt b/examples/formatting.txt
index 685bacf..b56f85d 100644
--- a/examples/formatting.txt
+++ b/examples/formatting.txt
@@ -1,6 +1,6 @@
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. 1Messages in `snac` allow a special subset of Markdown, that includes *emphasized*, **strong**, `monospaced`, ~~strikethrough~~ and __underlined__ styles by surrounding text with one asterisk, two asterisks, backquotes, two tildes and two underlines, respectively.
2 2
3Line breaks are output as you write it. 3Line breaks are respected and output as you write them.
4 4
5 5
6Prepending a greater-than symbol in a line makes it a quote: 6Prepending a greater-than symbol in a line makes it a quote:
@@ -21,6 +21,28 @@ It also allows preformatted text using three backquotes in a single line:
21 21
22``` 22```
23 23
24URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://codeberg.org/grunfink/snac2. 24- One level bullet lists
25- are also supported,
26- by starting a line with a hyphen or asterisk followed by a space.
27
28URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable, https://comam.es/what-is-snac.
29
30Links can also be written in [standard Markdown style](https://comam.es/what-is-snac).
25 31
26Some emojis: X-D <3 :beer: :shrug: :shrug2: 32Some emojis: X-D <3 :beer: :shrug: :shrug2:
33
34Image URLs written in standard Markdown style for images ![susie, snac's girl](https://comam.es/snac-doc/susie64.png) are converted to ActivityPub attachments.
35
36Three minus symbols in a line make a separator:
37
38---
39
40Headings can be defined using one, two, or three hash symbols in the beginning of a line, followed by a blank:
41
42# header level 1
43## header level 2
44### header level 3
45
46But please take note that every ActivityPub implementation out there have its own rules for filtering out these formatting styles, so you can only guess what other people will really see.
47
48These acrobatics are better documented in the `snac(5)` man page.