Adds defs to svg so it can be used in blog posts.