Table of Contents

Class HtmlHelperSunamoCz

Namespace
SunamoHtml.Html
Assembly
SunamoHtml.dll

EN: Helper class for converting plain text to HTML with automatic anchor detection and markdown-like formatting. CZ: Pomocna trida pro konverzi prosteho textu do HTML s automatickou detekci odkazu a markdown-like formatovanim.

public static class HtmlHelperSunamoCz
Inheritance
HtmlHelperSunamoCz
Inherited Members

Methods

ConvertTextToHtmlWithAnchors(string)

Converts text to HTML with automatic anchor links for URLs.

public static string ConvertTextToHtmlWithAnchors(string text)

Parameters

text string

The text to convert.

Returns

string

Converted HTML string with anchor links.

ConvertTextToHtmlWithAnchors(string, ref string)

Converts text to HTML with automatic anchor links and markdown-like formatting (bold, italic, -strike-).

public static string ConvertTextToHtmlWithAnchors(string text, ref string error)

Parameters

text string

The text to convert.

error string

Output error message if conversion fails.

Returns

string

Converted HTML string.