CodeBlockRenderer Class

An Normalize renderer for a CodeBlock and FencedCodeBlock.

public class CodeBlockRenderer : NormalizeObjectRenderer<CodeBlock>
Inheritance
NormalizeObjectRenderer<CodeBlock> CodeBlockRenderer

Constructors

NameDescription
CodeBlockRenderer()

CodeBlockRenderer()

public CodeBlockRenderer()

No documentation is available.

Properties

NameDescription
OutputAttributesOnPreGets or sets the output attributes on pre.

OutputAttributesOnPre

CodeBlockRenderer.cs

Gets or sets the output attributes on pre.

public bool OutputAttributesOnPre { get; set; }

Property value

bool

Methods

NameDescription
Write(NormalizeRenderer, CodeBlock)Writes the object to the specified renderer.

Write(NormalizeRenderer, CodeBlock)

CodeBlockRenderer.cs

Writes the object to the specified renderer.

protected override void Write(NormalizeRenderer renderer, CodeBlock obj)

Parameters

renderer NormalizeRenderer
obj CodeBlock