MarkdownRenderer.RenderCode(CodeBlock, IRenderContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders a code element.
protected override void RenderCode (Microsoft.Toolkit.Parsers.Markdown.Blocks.CodeBlock element, Microsoft.Toolkit.Parsers.Markdown.Render.IRenderContext context);
override this.RenderCode : Microsoft.Toolkit.Parsers.Markdown.Blocks.CodeBlock * Microsoft.Toolkit.Parsers.Markdown.Render.IRenderContext -> unit
Protected Overrides Sub RenderCode (element As CodeBlock, context As IRenderContext)
Parameters
- element
- CodeBlock
- context
- IRenderContext