rtfm(1)
- manual pages
#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://commonmark.org/
I’ve decided on a strict subset of commonmark to implement for this:
*Italics*
__Bold__
# Heading 1
(will be used for section number),## Heading 2
(for all other headings)[Text][Ref]
and at the bottom of the doc[Ref] http://example.com
- List item
1. Numbered item
> Quote Block
plus a couple of extensions:
Underline:
_Underline_
Strikethrough:
~Strikethrough~
Comments:
; Comment
Could
#
headers be specifically for title/section metadata?For example, roff:
and my proposed equivalent usage in doc:
Or
PAGE 1
or whatever would be best. Just an idea. It would also be nice to have###
- just in general it may be handy but also in particular with#
being title specification.I think the following would be more consistent:
**bold**
,__underline__
,~~strikethrough~~
,//italic//
. All of these are flanked by two of the same rune on either side, which helps writers remember them easier.And then potentially if they're useful (or even theoretically so)
(edit: backslashes as markup is a bad idea),\\diminished\\
(e.g.<small />
in obsolete HTML, or like whispers in comic books)^^superscript^^
,,,subscript,,
, but I'm not in love with any of these, they're just ideas I thought up.It would be nice to have in-line references, maybe similarly to MediaWiki. I don't wanna scroll down to find the hyperlink for a reference and then have to find my previous position.
;
is a fine comment character. I'm a little wary of common punctuation but starting a line with a semicolon is unusual and nonsensical so it's probably fine. If it initiates a comment at any point in a line though and not at the start that could be a big problem.I think comments should probably be
;;
Another point against roff is that it can run arbitrary commands.
@trinity mentioned renaming this to the more interesting
rtfm(1)
.`doc(1)` - manual pages in commonmarkto `rtfm(1)` - manual pages in commonmark`rtfm(1)` - manual pages in commonmarkto `rtfm(1)` - manual pages