mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Bother! forgot to add the nascent diff2html file. Added.
This commit is contained in:
parent
c0e97526ed
commit
637ea8c084
1 changed files with 8 additions and 0 deletions
8
src/smeagol/diff2html.clj
Normal file
8
src/smeagol/diff2html.clj
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(ns smeagol.diff2html)
|
||||
|
||||
(defn diff2html
|
||||
"Convert this string, assumed to be in diff format, to HTML."
|
||||
[^String diff-text]
|
||||
;; TODO doesn't work yet
|
||||
(str "<pre>" diff-text "</pre>"))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue