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
stringContents of the block.
language
stringLanguage to use for highlighting.
Returns
- string
Formatted block of code.