# How to use PlantUML with Markdown [PlantUML](http://plantuml.com/) is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool. Here's how I combine the two, to create docs with embedded diagrams. ## Step 0: Setup Get the command-line PlantUML from [the download page](http://plantuml.com/download) or your relevant package manager. ## Step 1: Create a Markdown file Use your favorite markdown or text editor. Most (if not all) developer-oriented text editors have some kind of markdown support. Remember that md files can contain html, and that html is passed-through to the generated html as-is. When you want to embed a diagram, create a hidden div: `