File: book.xsl

package info (click to toggle)
gtkmm-documentation 4.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,772 kB
  • sloc: cpp: 15,541; javascript: 1,208; makefile: 1,080; python: 401; xml: 106; perl: 67; sh: 8
file content (13 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>

  <!-- This is needed to add C++ syntax highlighting to code -->
  <xsl:template name="system.head.content">
    <link rel="stylesheet" href="highlight.min.css"/>
    <script src="highlight.min.js"/>
    <script>
      hljs.configure({languages: ['cpp']});
      hljs.highlightAll();
    </script>
  </xsl:template>
</xsl:stylesheet>