summaryrefslogtreecommitdiffstats
path: root/man.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-08-17 22:20:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-08-17 22:20:14 +0000
commit875de15d071895a5554d4bd5e94530ba31d86713 (patch)
tree497610b787cd0d28cbd6b35076ccdf5440d9c5b5 /man.7
parent589937ee94d5fbd2c8d9eb497231c8423483520e (diff)
downloadmandoc-875de15d071895a5554d4bd5e94530ba31d86713.tar.gz
Add example of comments in man.7 and mdoc.7.
Diffstat (limited to 'man.7')
-rw-r--r--man.78
1 files changed, 8 insertions, 0 deletions
diff --git a/man.7 b/man.7
index d7286227..29cee9dc 100644
--- a/man.7
+++ b/man.7
@@ -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.