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 | 875de15d071895a5554d4bd5e94530ba31d86713 (patch) | |
tree | 497610b787cd0d28cbd6b35076ccdf5440d9c5b5 | |
parent | 589937ee94d5fbd2c8d9eb497231c8423483520e (diff) | |
download | mandoc-875de15d071895a5554d4bd5e94530ba31d86713.tar.gz |
Add example of comments in man.7 and mdoc.7.
-rw-r--r-- | man.7 | 8 | ||||
-rw-r--r-- | mdoc.7 | 12 |
2 files changed, 18 insertions, 2 deletions
@@ -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. @@ -73,6 +73,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. @@ -260,9 +268,9 @@ Examples: .It \&.Bl -tag -width 2i two-inch tagged list indentation .Pq see Sx \&Bl -.It \&.br 2v +.It \&.sp 2v two vertical spaces -.Pq see Sx \&br +.Pq see Sx \&sp .El .Ss Sentence Spacing Sentences should terminate at the end of an input line. |