Class MermaidRenderExtension

Handles Mermaid charts based on one of two sytnax:

  • Converts ```mermaid syntax into div syntax * Adds the mermaid script from CDN
System.Object
  MarkdownMonster.RenderExtensions.MermaidRenderExtension
public class MermaidRenderExtension : object, IRenderExtension

Class Members

MemberDescription

Constructor

AfterDocumentRendered

Embed the Mermaid script link into the head of the page

public sealed void AfterDocumentRendered(ModifyHtmlArguments args)

AfterMarkdownRendered

Add script block into the document

public sealed void AfterMarkdownRendered(ModifyHtmlAndHeadersArguments args)

BeforeMarkdownRendered

Check for ```markdown blocks and replace them with DIV blocks

public sealed void BeforeMarkdownRendered(ModifyMarkdownArguments args)

Requirements

Namespace: MarkdownMonster.RenderExtensions
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic