HtmlWriter.WriteCodeBlock Method

Namespace
Kampute.DocToolkit.IO.Writers
Assembly
  • Kampute.DocToolkit.dll

Definition

Writes a code block.
public override void WriteCodeBlock(string code, string language = null)

Parameters

code string
The code to write.
language string optional
The language of the code block, or null to omit the language specifier.