Sander.txt2html NuGet Package

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.




Got any Sander.txt2html Question?





Info

Version: 2.0.2
Author(s): Sander Säde
Last Update: Thursday, June 29, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/SanderSade/txt2html
NuGet Url: https://www.nuget.org/packages/Sander.txt2html


Install
Install-Package Sander.txt2html
dotnet add package Sander.txt2html
paket add Sander.txt2html
Sander.txt2html Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.5

avg-downloads-per-day

0

days-since-last-release

514