There are a few atom plugins that support this.
I'm using Markdown Preview Enhanced now: https://atom.io/packages/markdown-preview-enhanced
with which you can embed mermaid sketches into normal markdown documents. This is perfect for most use cases where you want a simple diagram inside a text document.
Also atom-mermaid: https://atom.io/packages/atom-mermaid which is for authoring mermaid documents.