Handbook
Glossary
htmlize-file ( path -- )
Vocabulary
xmode
.
code2html
Inputs
path
an
object
Outputs
None
Definition
USING:
io
io.encodings.utf8
io.files
kernel
namespaces
sequences
xml.writer
;
IN:
xmode.code2html
:
htmlize-file
( path -- )
dup
utf8
[
dup
".html"
append
utf8
[
input-stream
get
htmlize-stream
write-xml
]
with-file-writer
]
with-file-reader
;