https://github.com/torvalds/linux
Raw File
Tip revision: 2dde18cd1d8fac735875f2e4987f11817cc0bc2c authored by Linus Torvalds on 27 August 2023, 21:49:51 UTC
Linux 6.5
Tip revision: 2dde18c
manpage-bold-literal.xsl
<!-- manpage-bold-literal.xsl:
     special formatting for manpages rendered from asciidoc+docbook -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		version="1.0">

<!-- render literal text as bold (instead of plain or monospace);
     this makes literal text easier to distinguish in manpages
     viewed on a tty -->
<xsl:template match="literal">
	<xsl:value-of select="$git.docbook.backslash"/>
	<xsl:text>fB</xsl:text>
	<xsl:apply-templates/>
	<xsl:value-of select="$git.docbook.backslash"/>
	<xsl:text>fR</xsl:text>
</xsl:template>

</xsl:stylesheet>
back to top