converting text into .html file 解析文本文件生成HTML文件
# input: abc.txt output: output.html
python txt2html.py abc.txt [-o output.html]
Use the -h
to check out usage.
使用-h
参数可以查看使用说明。
- reference
example
-
works on Windows7, Python3
-
supports URL, MAIL and EMPHASIS 支持URL、邮箱和强调句子
-
supports TITLE, HEADING, LISTITEM and PARAGRAPH with lines 支持大标题、二级标题、表项和多行段落
-
simple but helps in easy job :smile: