Skip to content

Instantly share code, notes, and snippets.

@ooharak
Last active August 29, 2015 14:05
Show Gist options
  • Save ooharak/3602603a647b53c8e432 to your computer and use it in GitHub Desktop.
Save ooharak/3602603a647b53c8e432 to your computer and use it in GitHub Desktop.
Pandoc+beamer+GraphvizでAWSの図を描く ref: http://qiita.com/ooharak/items/78f79fe8a57668550a82
## サンプル

~~~{.graphviz width="0.8"}
#define ICON(name) peripheries=0 image="awsicons/"+name+".png"
digraph {
 ELB [ICON("elb")]
 インスタンスa [ICON("instance")]
 インスタンスb [ICON("instance")]
 ELB -> {インスタンスa インスタンスb}
}
~~~
~~~graphviz
digraph {
a->b
}
~~~
pandoc -s a.md -t html5 --self-contained -o a.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment