summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2009-06-16 16:09:15 -0500
committerShaun McCance <shaunm@gnome.org>2009-06-16 16:09:15 -0500
commit58e329fe9c336c7644b4c850c2aeae0fb446c57d (patch)
treebec2fa524c2c1be59e4f65ba364ad4c4f39e9721 /xslt
parentc59fa6f0f373b81a61a38aee0630fb7249523a8b (diff)
downloadgnome-doc-utils-58e329fe9c336c7644b4c850c2aeae0fb446c57d.tar.gz
[mal2html] Added hi element from Mallard experimental
Diffstat (limited to 'xslt')
-rw-r--r--xslt/mallard/html/mal2html-inline.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl
index 969f0c6..1db0bf2 100644
--- a/xslt/mallard/html/mal2html-inline.xsl
+++ b/xslt/mallard/html/mal2html-inline.xsl
@@ -18,6 +18,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:mal="http://projectmallard.org/1.0/"
+ xmlns:e="http://projectmallard.org/experimental/"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
@@ -110,6 +111,10 @@ span.file { font-family: monospace; }
span.gui, span.guiseq { color: </xsl:text>
<xsl:value-of select="$theme.color.text_light"/><xsl:text>; }
span.input { font-family: monospace; }
+span.hi {
+ background-color: </xsl:text>
+ <xsl:value-of select="$theme.color.yellow_background"/><xsl:text>;
+}
span.key {
color: </xsl:text>
<xsl:value-of select="$theme.color.text_light"/><xsl:text>;
@@ -200,6 +205,11 @@ span.var { font-style: italic; }
<xsl:call-template name="mal2html.span"/>
</xsl:template>
+<!-- = hi = -->
+<xsl:template mode="mal2html.inline.mode" match="e:hi">
+ <xsl:call-template name="mal2html.span"/>
+</xsl:template>
+
<!-- = key = -->
<xsl:template mode="mal2html.inline.mode" match="mal:key">
<xsl:call-template name="mal2html.span"/>