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)
Dependencies
Tags
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.