aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Sh/tag.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-01 20:21:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-01 20:21:08 +0000
commitbc6d8c884c63e49aafa7894399d3d7060108b4ec (patch)
tree221c86f83f95f27ccb490ae5bc0a9b4811809d0b /regress/mdoc/Sh/tag.in
parente5d39b82294bd2fb1536527e0f27b2902943f299 (diff)
downloadmandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.tar.gz
mandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.tar.zst
mandoc-bc6d8c884c63e49aafa7894399d3d7060108b4ec.zip
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.
Diffstat (limited to 'regress/mdoc/Sh/tag.in')
-rw-r--r--regress/mdoc/Sh/tag.in10
1 files changed, 8 insertions, 2 deletions
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