Table of Contents

Method BlockCode

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

BlockCode(string, string)

Creates a block of code.

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

Parameters

content string

Contents of the block.

language string

Language to use for highlighting.

Returns

string

Formatted block of code.