A simple TextFormatter for me.
(content-0)
(body-0)
(body-1)
(new line)
(content-1)
(body-0)
...
1.foo
hogehoge
piyopiyo
AAAA
foobar
<h2>[content-0]</h2>
<p>[body-0]</p>
<p>[body-1]</p>
<h2>[content-1]</h2>
<p>[body-0]</p>
...
$ node textFormat "TargetFile" [mac|cr|linux|lf|windows|crlf](Optional)
If you use textFormat.exe
, you don't have to setup Node.js (Windows only)
Download from Releases (build with nexe)
Example: node textFormat "./target.txt" crlf
default code is CRLF(\r\n)
The result is written in "./formatted.txt",and it is opened automatically.