image preview for diff pages: add placeholder `<figure>`s
support image preview for diffs page. closes #2
add .editorconfig