RGL Browser: proper syntax highlighting for GF

This commit is contained in:
john.j.camilleri
2012-05-16 10:37:29 +00:00
parent aa105f2916
commit ebbee9c096
3 changed files with 20 additions and 48 deletions

View File

@@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="http://www.grammaticalframework.org/css/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="google-code-prettify/prettify-own.css">
<link rel="stylesheet" href="google-code-prettify/prettify-gf.css">
</head>
<body>
<header>
@@ -37,7 +37,7 @@
<table id="scope_list"></table>
</div>
<div id="code" class="panel code">
<pre class="prettyprint lang-hs linenums"></pre>
<pre class="prettyprint lang-gf linenums"></pre>
</div>
<div id="help" class="panel help">
@@ -77,7 +77,6 @@
<ul>
<li>Some way of browsing just the API</li>
<li>Better visual cues for functions in scope</li>
<li>Customised GF syntax highlighting (currently using a Haskell default)</li>
<li>The page sometimes stalls when handling large files (in particular the dictionary modules)</li>
</ul>
</div>
@@ -85,10 +84,11 @@
<br style="clear:both" />
</div>
<footer id="footer">
John J. Camilleri. <em>Updated 2012-05-15.</em>
John J. Camilleri. <em>Updated 2012-05-16.</em>
</footer>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="google-code-prettify/prettify.js"></script>
<script src="google-code-prettify/lang-gf.js"></script>
<script src="script.js"></script>
</body>
</html>