diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-17 22:20:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-17 22:20:14 +0000 |
commit | df368ee6242dba2f2ef0fb526f526641e28ed20e (patch) | |
tree | 7dbfe64fd9c00206d091b16ebe6c424dbd52d3a6 /man.7 | |
parent | 2c1a679cc89a129aa9bc15cc735cc8ad3ab615e9 (diff) | |
download | mandoc-df368ee6242dba2f2ef0fb526f526641e28ed20e.tar.gz mandoc-df368ee6242dba2f2ef0fb526f526641e28ed20e.tar.zst mandoc-df368ee6242dba2f2ef0fb526f526641e28ed20e.zip |
Add example of comments in man.7 and mdoc.7.
Diffstat (limited to 'man.7')
-rw-r--r-- | man.7 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.103 2011/08/17 22:16:32 kristaps Exp $ +.\" $Id: man.7,v 1.104 2011/08/17 22:20:14 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -72,6 +72,14 @@ Furthermore, macro lines with only a control character and optional trailing whitespace are stripped from input. +.Pp +Examples: +.Bd -literal -offset indent -compact +\&.\e\*q This is a comment line. +\&.\e\*q The next line is ignored: +\&. +\&.Em Emphasis \e\*q This is also a comment. +.Ed .Ss Special Characters Special characters are used to encode special glyphs and are rendered differently across output media. |