honk/docs/honk.5

171 lines
4.7 KiB
Groff
Raw Normal View History

2019-10-09 20:31:55 +02:00
.\"
.\" Copyright (c) 2019 Ted Unangst
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate$
.Dt HONK 5
.Os
.Sh NAME
.Nm honk
.Nd status composition
.Sh DESCRIPTION
Status updates composed in
.Nm
have many features beyond just plain text.
.Pp
The process begins by pressing the button marked
.Dq it's honking time
to activate the honk form.
.Pp
2019-11-01 06:36:07 +01:00
Honks are posted publicly.
2019-11-13 05:56:56 +01:00
.Ss Basics
2019-10-09 20:31:55 +02:00
A subset of markdown is supported.
.Bl -tag -width tenletters
.It bold
**bold text**
.It italics
*italicized text*
.It quotes
> This text is quoted.
.It code
Inline `code fragments` with single ticks.
.Bd -literal
2019-10-10 06:54:46 +02:00
```c
/* triple tick code blocks support syntax highlighting */
int main() { return 0; }
2019-10-09 20:31:55 +02:00
```
.Ed
2020-05-24 01:59:59 +02:00
.It headings
Heading lines starting with #.
2019-11-12 20:45:39 +01:00
.It lists
Lists of items starting with either
.Sq +
or
.Sq - .
2020-01-01 23:45:06 +01:00
.It tables
Table cells separated by |.
2019-10-22 06:19:31 +02:00
.It images
Inline images with img tags.
.Bd -literal
<img alt="Lifecycle of a honk" src="https://example.com/diagram.png">
.Ed
2019-10-09 20:31:55 +02:00
.It links
URLs beginning with
.Dq http
or
.Dq https
will be autolinked.
2019-11-12 21:04:19 +01:00
.It rules
Exactly three dashes on a line,
.Dq --- ,
will become a horizontal rule.
2023-07-29 20:45:01 +02:00
.It spoilers
Hide blocks of text between triple colon delimted regions.
.Bd -literal
::: warning
text that should be hidden behind a warning
:::
.Ed
2019-10-09 20:31:55 +02:00
.El
2019-11-10 00:47:18 +01:00
.Pp
If the first line of a honk begins with
.Dq DZ:
2023-02-06 02:42:14 +01:00
(danger zone) or any other combination of two letters and a colon,
it will be used a summary and the post marked sensitive.
2019-11-10 00:47:18 +01:00
.Pp
2019-10-09 20:31:55 +02:00
Mentioning a specfic user such as
.Pq @user@example.social
will send a copy of the message to them.
Several forms are supported.
.Ql @name
will work using the short name from the
.Pa honkers
table and be expanded automatically.
.Ql @handle@domain
will work for anyone.
.Ql @https://example.com
works as well.
2019-10-09 20:31:55 +02:00
When honking back, the author of the parent post is automatically mentioned.
2019-11-13 05:56:56 +01:00
.Ss Extras
2019-10-09 20:31:55 +02:00
Threads from the tiny bird site may be included as quotes in a post via the
.Ar hoot
operator followed by the URL.
2019-10-24 06:53:15 +02:00
.Dl hoot: https://twitter.com/tedunangst/status/850379741492367360
2019-10-09 20:31:55 +02:00
.Pp
2019-11-01 06:36:07 +01:00
Custom emoji may be included by colon wrapping the image name.
2019-10-09 20:31:55 +02:00
.Pq :hellsyeah:
A meme (sticker, reaction gif) may be included with the
.Ar meme
operator followed by the file name.
.Dl meme: honk.mp4
A full list of emoji and memes may be found in the
.Pa funzone .
2021-01-18 01:28:39 +01:00
See
.Xr honk 8
for more about the funzone.
2019-10-09 20:31:55 +02:00
.Pp
Custom flag emoji may be generated on the fly by specifying comma separated
hexadecimal RGB values, one for each stripe.
.Dl flag:306,002,dcf
Vertical stripes may be selected by specfying "vert" for the first value.
.Pp
2019-10-09 20:31:55 +02:00
There are no length restrictions, but remember, somebody is going to have
to read this noise.
.Pp
One may attach a file to a post.
Images are automatically rescaled and reduced in size for federation.
A description, or caption, is encouraged.
Text files and PDFs are also supported as attachments.
2019-10-09 20:31:55 +02:00
Other formats are not supported.
.Pp
One may also live dangerously by posting assassination coordinates.
2019-10-09 20:31:55 +02:00
The available fields, all optional, are
.Ar name ,
.Ar url ,
.Ar latitude ,
and
.Ar longitude .
By default, location data is rounded to approximately 1/100 decimal degree
accuracy.
Pressing the check in button a second time will refine this to more a
precise location.
.Pp
2019-10-25 05:12:35 +02:00
Adding a time to a post turns it into an event.
Supported formats for start time are HH:MM or YYYY-MM-DD HH:MM.
A 24 hour clock is assumed, unless am or pm are specified.
The duration is optional and may be specified as XdYhZm for X days, Y hours,
and Z minutes (1d12h would be a 36 hour event).
.Pp
2023-01-27 06:20:27 +01:00
Clicking the pretty circle face will open the emu peeker to add in the
selection of emus.
.Pp
2019-10-09 20:31:55 +02:00
When everything is at last ready to go, press the
.Dq it's gonna be honked
button.
2019-11-07 06:39:08 +01:00
.Sh EXAMPLES
(Slightly dated screenshots.)
.Pp
Composing a new honk with an attached image and location.
.Pp
.Lk screenshot-compose.png screenshot of honk composition
.Pp
After posting.
.Pp
.Lk screenshot-afterpost.jpg screenshot of honk after posting
2019-10-09 20:31:55 +02:00
.Sh SEE ALSO
.Xr honk 1
2019-10-09 20:31:55 +02:00
.Sh CAVEATS
Markdown support is implemented with regexes.
Preview is recommended.