浏览器的现实效果可是比 文件编辑器的显示效果好得多了, 并且浏览器使用 空格键 翻页也比鼠标滚轮好用的多.
缺省把生成的html文件分割为 512KB 大小, 这是为了减少浏览器的负担, 加速显示. 可以通过选项 -n 取消分割.
缺省html文件使用gb18030编码, 可以通过指定参数 -c utf-8 或者其他编码来改变.
代码: 全选
wsh@ub804:~$ txtnovel2html -h
Usage: txtnovel2html [-n] [-c charset] -f filename
Options:
-h, --help show this help message and exit
-n, --no-split do not split the html file to small ones,
default split to 512 KB for every html file
-c CHARSET, --charset=CHARSET
set the charset that html file use,
default is gb18030, while you can try:
UTF-8, cp936, gb2312 or gb18030
-f FILENAME, --text-file=FILENAME
the text file you want to convert
--bold show bold text in html file
--fgcolor=FGCOLOR fore ground color
--bgcolor=BGCOLOR back ground color
--font=FONT the font html file use
(对配色不熟悉, 所以没有加入预设的 背景色/前景色 配色方案,需要自己手动设置,如果喜欢的话)
(哪个朋友给几个配色方案建议?)
下载地址:http://sites.google.com/site/sharkkew/H ... edirects=0