const marked = require('marked');
const html = marked.parse('```mermaid\nsequenceDiagram\n  A->>B: Hello\n```');
let parsed = html.replace(/<code class="language-mermaid">([\s\S]*?)<\/code>/g, '<div class="mermaid">$1</div>');
parsed = parsed.replace(/<pre><div class="mermaid">([\s\S]*?)<\/div><\/pre>/g, '<div class="mermaid">$1</div>');
console.log('MARKDOWN OUTPUT:', html);
console.log('PARSED OUTPUT:', parsed);
