CodeFormatterFormatCode(String) Method

Formats the specified source code as HTML.

Definition

Namespace: Ookii.FormatC
Assembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.3.2+a0abe9e363271833c90424d1444b43a67fa5858f
C#
public string FormatCode(
	string code
)

Parameters

code  String
The code to format.

Return Value

String
The formatted HTML.

Example

For an example see CodeFormatter.

See Also