rf-web/vendor/bundle/gems/kramdown-2.1.0/test/testcases/man/example.man

124 lines
1.5 KiB
Groff
Raw Normal View History

2019-10-21 08:18:17 +00:00
.\" generated by kramdown
.TH "NAME" "1" "November 2016" "Some extra data"
.SH NAME
name \- description
.SH "SYNOPSIS"
\fBname\fP [\fBOPTIONS\fP] \fIarguments\fP\.\.\.
.SH "DESCRIPTION"
This is a normal paragraph\.
.sp
.PD 0
.IP \(bu 4
A
.IP \(bu 4
compact
.IP \(bu 4
list
.IP \(bu 4
with multiple
.RS
.IP \(bu 4
items and
.RS
.IP \(bu 4
nested
.RE
.RE
.IP \(bu 4
as well
.PD
.RS
.P
blockquotes are fine
.IP 1. 4
numbered lists
.IP 2. 4
work too
.RS
.IP 1. 4
and they
.IP 2. 4
can be
.RS
.IP 1. 4
nested
.RE
.RE
.IP 3. 4
again
.RE
.sp
.RS 4
.EX
Some fancy code
going
on
here
.EE
.RE
.TP
\fB\-o\fP
.TQ
\fB\-\-option\fP
Description lists
.sp
are useful as well
.P
And compact definition lists:
.sp
.PD 0
.TP
\fBo\fP
Option
.TP
\fBk\fP
Key
.TP
\fBv\fP
Value
.PD
.TS
box center ;
l l l l .
tables can be centered
.TE
.sp
.TS
box ;
lb lb cb rb .
Default aligned Left aligned Center aligned Right aligned
=
.T&
l l c r .
First body part Second cell Third cell fourth cell
Second \fIline\fP foo \fBstrong\fP baz
Third line \fBquux\fP baz bar
_
.T&
l l c r .
Second body
2nd line
=
Footer row one
Footer row two
.TE
.sp
.P
Inline formatting like \fIemphasis\fP, \fBstrong\fP and \fBcode span\fP work as ususal\.
.UR are_well\.html
Links
.UE
work, too! As do
.br
line breaks\.
.P
Abbreviations like MD can be used but the abbreviation title is ignored\.
.P
Math elements work \fB\el = 5\fP inline and in block form:
.sp
.RS 4
.EX
\elambda_5 = \ealpha + 4
.EE
.RE