summaryrefslogtreecommitdiff
path: root/help3xsl/README.prism.js.txt
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/README.prism.js.txt')
-rw-r--r--help3xsl/README.prism.js.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/help3xsl/README.prism.js.txt b/help3xsl/README.prism.js.txt
index fe0acc0d2b..d23a5b6581 100644
--- a/help3xsl/README.prism.js.txt
+++ b/help3xsl/README.prism.js.txt
@@ -39,6 +39,14 @@ Add class 'language-visual-basic' and 'line-numbers' to <code> as in
<xsl:template match="bascode">
<div class="bascode" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet">
- <pre><code class="language-visual-basic line-numbers"><xsl:apply-templates /></code></pre></div>
+ <xsl:attribute name="data-tooltip"><xsl:value-of select="$ui_copyclip"/></xsl:attribute>
+ <pre><code class="language-visual-basic line-numbers"><xsl:apply-templates /></code></pre>
+ </div>
</xsl:template>
+<xsl:template match="pycode">
+ <div class="pycode" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet">
+ <xsl:attribute name="data-tooltip"><xsl:value-of select="$ui_copyclip"/></xsl:attribute>
+ <pre><code class="language-python line-numbers"><xsl:apply-templates /></code></pre>
+ </div>
+</xsl:template>