Return to mandoc.1 CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.254, 2022/02/08 18:27:45 | version 1.256, 2022/04/14 10:10:22 | ||
---|---|---|---|
|
|
||
.\" $OpenBSD$ | .\" $Id$ | ||
.\" | .\" | ||
.\" Copyright (c) 2012, 2014-2021 Ingo Schwarze <schwarze@openbsd.org> | .\" Copyright (c) 2012, 2014-2021 Ingo Schwarze <schwarze@openbsd.org> | ||
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> | .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> | ||
|
|
||
to translate | to translate | ||
.Xr mdoc 7 | .Xr mdoc 7 | ||
input to the markdown format conforming to | input to the markdown format conforming to | ||
.Lk http://daringfireball.net/projects/markdown/syntax.text\ | .Lk https://daringfireball.net/projects/markdown/syntax.text\ | ||
"John Gruber's 2004 specification" . | "John Gruber's 2004 specification" . | ||
The output also almost conforms to the | The output also almost conforms to the | ||
.Lk http://commonmark.org/ CommonMark | .Lk https://commonmark.org/ CommonMark | ||
specification. | specification. | ||
.Pp | .Pp | ||
The character set used for the markdown output is ASCII. | The character set used for the markdown output is ASCII. | ||
|
|
||
.Sh EXAMPLES | .Sh EXAMPLES | ||
To page manuals to the terminal: | To page manuals to the terminal: | ||
.Pp | .Pp | ||
.Dl $ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8 | .Dl $ mandoc -a mandoc.1 man.1 apropos.1 makewhatis.8 | ||
.Pp | .Pp | ||
To produce HTML manuals with | To produce HTML manuals with | ||
.Pa /usr/share/misc/mandoc.css | .Pa /usr/share/misc/mandoc.css |