This is an IPython/Jupyter (notebook) extension, providing custom magics for blockdiag, and is inspired by this gist.
Warning: consider this code to be alpha-quality. No tests, just a proof-of-concept. You have been warned.
activate your virtualenv, then
git clone ... && cd ...
pip install -r requirements.txt
pip install -e .
in your Jupyter notebook:
%load_ext xdiag_magic
%xdiag_output_format svg
%%blockdiag
{
A -> B -> C
}