You probably heard about embedding CSS into SVG, but have you ever tried that yourself? Recently I faced a rather strange design issue. Issue Some days ago I started to integrate mermaid – a JavaScript framework for diagrams and graphs – into middleman-presentation – a presentation builder framework based on reveal.js.