Skip to content

Commit

Permalink
new: support nomnoml diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
maulwuff committed Oct 17, 2017
1 parent 4247208 commit d6a705d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Markdig/Extensions/Diagrams/DiagramExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public void Setup(MarkdownPipeline pipeline, IMarkdownRenderer renderer)
var codeRenderer = htmlRenderer.ObjectRenderers.FindExact<CodeBlockRenderer>();
// TODO: Add other well known diagram languages
codeRenderer.BlocksAsDiv.Add("mermaid");
codeRenderer.BlocksAsDiv.Add("nomnoml");
}
}
}
Expand Down

0 comments on commit d6a705d

Please sign in to comment.