Update highlight and the mainclient.

This commit is contained in:
Calvin Rose
2019-01-20 10:05:51 -05:00
parent f7a0133eb1
commit 737b2449f0
2 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -162,9 +162,9 @@
(defn html
"Highlight janet source code and output HTML."
[source]
(string "<pre class=\"j-main\">"
(string "<pre class=\"j-main\"><code>"
(0 (peg/match html-grammar source))
"</pre>"))
"</code></pre>"))
(defn html-file
"Highlight a janet file and print out a highlighted HTML version