mirror of
https://github.com/janet-lang/janet
synced 2026-09-26 10:51:41 +00:00
Update highlight and the mainclient.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user