diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-03-04 13:31:51 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-03-04 17:38:26 +0100 |
commit | 5573c118ebe4b2b5328b328170c21bf77cc9f2e8 (patch) | |
tree | 34300e5aa6267490c06c4e8c372f4b43d42bb984 /help3xsl/README.prism.js.txt | |
parent | ba883f0c4bb56c10bbf2d0a675daa27c5cae7cfc (diff) |
Update prism.js used in the Help
version 1.2.7
Change-Id: Ibec037314046a2f17a9c6c2b9c67d9353c761319
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131028
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/README.prism.js.txt')
-rw-r--r-- | help3xsl/README.prism.js.txt | 10 |
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> |