Table of Contents

Method BlockCode

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

BlockCode(string, string)

Creates a block of code.

public static string BlockCode(this string content, string language = "")

Parameters

content string

Contents of the block.

language string

Language to use for highlighting.

Returns

string

Formatted block of code.