]> git.donarmstrong.com Git - qmk_firmware.git/blob - LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt
Squashed 'lib/lufa/' changes from f2bd51f4e..bbdc9ac40
[qmk_firmware.git] / LUFA / StudioIntegration / HV1 / lufa_hv1_transform.xslt
1 <!--
2              LUFA Library
3      Copyright (C) Dean Camera, 2017.
4
5   dean [at] fourwalledcubicle [dot] com
6            www.lufa-lib.org
7 -->
8
9 <!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
10
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
12
13         <xsl:import href="../Docbook/mshelp/docbook.xsl"/>
14
15         <xsl:output method="xml" indent="no"/>
16
17         <xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
18                 <span class="hl-keyword" style="color: #0079C1">
19                         <xsl:apply-templates/>
20                 </span>
21         </xsl:template>
22
23         <xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
24                 <span class="hl-string" style="color: #800000">
25                         <xsl:apply-templates/>
26                 </span>
27         </xsl:template>
28
29         <xsl:template match="emphasis[@role = 'comment']">
30                 <em class="hl-comment" style="color: #008000">
31                         <xsl:apply-templates/>
32                 </em>
33         </xsl:template>
34
35         <xsl:template match="emphasis[@role = 'preprocessor']">
36                 <span class="hl-preprocessor" style="color: #A000A0">
37                         <xsl:apply-templates/>
38                 </span>
39         </xsl:template>
40
41         <xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
42                 <xsl:apply-templates />
43         </xsl:template>
44
45 </xsl:stylesheet>