From bc6d8c884c63e49aafa7894399d3d7060108b4ec Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 1 Apr 2020 20:21:08 +0000 Subject: Just like we are already doing it in HTML output, automatically tag section and subsection headers in terminal output, too. Even though admittedly, commands like "/SEE" and "/ Subsec" work, too, there is no downside, and besides, with the recent improvements in the tagging framework, implementation cost is negligible. --- regress/mdoc/Sh/tag.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'regress/mdoc/Sh/tag.in') diff --git a/regress/mdoc/Sh/tag.in b/regress/mdoc/Sh/tag.in index 0e0e5fef..da8a884a 100644 --- a/regress/mdoc/Sh/tag.in +++ b/regress/mdoc/Sh/tag.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: tag.in,v 1.1 2020/02/27 21:38:27 schwarze Exp $ -.Dd $Mdocdate: February 27 2020 $ +.\" $OpenBSD: tag.in,v 1.2 2020/04/01 20:10:18 schwarze Exp $ +.Dd $Mdocdate: April 1 2020 $ .Dt SH-TAG 1 .Os .Sh NAME @@ -11,11 +11,17 @@ Text in the description. BEGINTEST .Pp Text in the subsection. +.Sh DESCRIPTION +Text in duplicate description section. .Tg examples .Sh EXAMPLES Text introducing examples. .Tg example .Ss Subsection Example text. +.Sh "\& WEIRD SECTION " +Text in weird section. +.Sh \ \& +Text in section with empty header. .Pp ENDTEST -- cgit v1.2.3-56-ge451