all repos — honk @ 466fa4b6ec5157da77e04afcce29e06097509dc6

my fork of honk

docs/honk.5 (view raw)

  1.\"
  2.\" Copyright (c) 2019 Ted Unangst
  3.\"
  4.\" Permission to use, copy, modify, and distribute this software for any
  5.\" purpose with or without fee is hereby granted, provided that the above
  6.\" copyright notice and this permission notice appear in all copies.
  7.\"
  8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 15.\"
 16.Dd $Mdocdate$
 17.Dt HONK 5
 18.Os
 19.Sh NAME
 20.Nm honk
 21.Nd status composition
 22.Sh DESCRIPTION
 23Status updates composed in
 24.Nm
 25have many features beyond just plain text.
 26.Pp
 27The process begins by pressing the button marked
 28.Dq it's honking time
 29to activate the honk form.
 30.Pp
 31Honks are posted publicly.
 32.Ss Basics
 33A subset of markdown is supported.
 34.Bl -tag -width tenletters
 35.It bold
 36**bold text**
 37.It italics
 38*italicized text*
 39.It quotes
 40> This text is quoted.
 41.It code
 42Inline `code fragments` with single ticks.
 43.Bd -literal
 44```c
 45/* triple tick code blocks support syntax highlighting */
 46int main() { return 0; }
 47```
 48.Ed
 49.It headings
 50Heading lines starting with #.
 51.It lists
 52Lists of items starting with either
 53.Sq +
 54or
 55.Sq - .
 56.It tables
 57Table cells separated by |.
 58.It images
 59Inline images with img tags.
 60.Bd -literal
 61<img alt="Lifecycle of a honk" src="https://example.com/diagram.png">
 62.Ed
 63.It links
 64URLs beginning with
 65.Dq http
 66or
 67.Dq https
 68will be autolinked.
 69.It rules
 70Exactly three dashes on a line,
 71.Dq --- ,
 72will become a horizontal rule.
 73.It spoilers
 74Hide blocks of text between triple colon delimted regions.
 75.Bd -literal
 76::: warning
 77text that should be hidden behind a warning
 78:::
 79.Ed
 80.El
 81.Pp
 82If the first line of a honk begins with
 83.Dq DZ:
 84(danger zone) or any other combination of two letters and a colon,
 85it will be used a summary and the post marked sensitive.
 86.Pp
 87Mentioning a specfic user such as
 88.Pq @user@example.social
 89will send a copy of the message to them.
 90Several forms are supported.
 91.Ql @name
 92will work using the short name from the
 93.Pa honkers
 94table and be expanded automatically.
 95.Ql @handle@domain
 96will work for anyone.
 97.Ql @https://example.com
 98works as well.
 99When honking back, the author of the parent post is automatically mentioned.
100.Ss Extras
101Custom emoji may be included by colon wrapping the image name.
102.Pq :hellsyeah:
103A meme (sticker, reaction gif) may be included with the
104.Ar meme
105operator followed by the file name.
106.Dl meme: honk.mp4
107A full list of emoji and memes may be found in the
108.Pa funzone .
109See
110.Xr honk 8
111for more about the funzone.
112.Pp
113Custom flag emoji may be generated on the fly by specifying comma separated
114hexadecimal RGB values, one for each stripe.
115.Dl flag:306,002,dcf
116Vertical stripes may be selected by specfying "vert" for the first value.
117.Pp
118There are no length restrictions, but remember, somebody is going to have
119to read this noise.
120.Pp
121One may attach a file to a post.
122Images are automatically rescaled and reduced in size for federation.
123A description, or caption, is encouraged.
124Text files and PDFs are also supported as attachments.
125Other formats are not supported.
126Multiple files may be attached to the some post, but be wary of depending
127on a particular presentation order.
128.Pp
129One may also live dangerously by posting assassination coordinates.
130The available fields, all optional, are
131.Ar name ,
132.Ar url ,
133.Ar latitude ,
134and
135.Ar longitude .
136By default, location data is rounded to approximately 1/100 decimal degree
137accuracy.
138Pressing the check in button a second time will refine this to more a
139precise location.
140.Pp
141Adding a time to a post turns it into an event.
142Supported formats for start time are HH:MM or YYYY-MM-DD HH:MM.
143A 24 hour clock is assumed, unless am or pm are specified.
144The duration is optional and may be specified as XdYhZm for X days, Y hours,
145and Z minutes (1d12h would be a 36 hour event).
146.Pp
147Clicking the pretty circle face will open the emu peeker to add in the
148selection of emus.
149.Pp
150When everything is at last ready to go, press the
151.Dq it's gonna be honked
152button.
153.Sh EXAMPLES
154(Slightly dated screenshots.)
155.Pp
156Composing a new honk with an attached image and location.
157.Pp
158.Lk screenshot-compose.png screenshot of honk composition
159.Pp
160After posting.
161.Pp
162.Lk screenshot-afterpost.jpg screenshot of honk after posting
163.Sh SEE ALSO
164.Xr honk 1
165.Sh CAVEATS
166Markdown support is implemented with regexes.
167Preview is recommended.