Use txt2html to convert plain text files to the hypertext markup language (HTML). Features: * Clean and compliant HTML5 * Option to include your own CSS * HTML entity replacement (optional; you can also edit the entity list). Note that critical entities (<,>,",&) are always replaced, so generally you don't have to enable this option * Detects and fixes _italic_ and *bold* (optional) * Detects and marks URL's (optional) * Optional paragraph joining. Attempts to merge hard-coded line-breaks into coherent paragraphs. Lines shorter than specified length, which don't end with characters marking end of line ('.?!") are joined. * Fast (v2 is more than 50x faster than v1!) * Free and open source
$ dotnet add package Sander.txt2htmlNo README available.