source: Dev/trunk/src/client/dojox/highlight/tests/test_highlightWidget.html

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 1.4 KB
Line 
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>
Note: See TracBrowser for help on using the repository browser.