This time, I've given up on svg and am using png. The inline svg seems to be totally stripped out by github's markdown->html conversion, and img links don't work because .svg files are served with an incorrect Content-Type.