Debian Codegraph @

dojox/highlight/tests/test_highlightWidget.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>Dojo source code color syntax highlighting example</title>
5 <link rel="stylesheet" type="text/css" href="pretty.css" />
6 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true"></script>
7 <script type="text/javascript" src="highlightRequires.js"></script>
8 </head>
9 <body>
10 <div id="container">
11 <h1>Test Source Code Formatting</h1>
12 <p>View source to see how easy it is to use the Dojo code highlight in your documentation.</p>
13 <p>Mimic the format of SyntaxHighlighter, using dojox.highlight and stylesheets, and our simple Code widget extension.</p>
14 <h3>Java code (including SQL/XML statement definition):</h3>
15 <div lang="java" dojoType="dojox.highlight.widget.Code" url="./example-java-source.java" style="height:200px; overflow:auto;"></div>
16 <h3>XQuery code:</h3>
17 <div lang="xquery" dojoType="dojox.highlight.widget.Code" url="./example-xquery-source.xquery" style="height:200px; overflow:auto;"></div>
18 <h3>XML result data:</h3>
19 <div lang="xml" dojoType="dojox.highlight.widget.Code" url="./example-xml-resultdata.xml"></div>
20 <h3>XML doc:</h3>
21 <div lang="xml" dojoType="dojox.highlight.widget.Code" url="./example-xml-data.xml" style="height:200px; overflow:auto;"></div>
22 </div>
23 </body>
24 </html>