{"id":315,"date":"2012-10-02T23:21:01","date_gmt":"2012-10-03T03:21:01","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/acts\/?p=315"},"modified":"2012-10-02T23:21:01","modified_gmt":"2012-10-03T03:21:01","slug":"inserting-images-into-githubs-wiki","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/acts\/2012\/10\/02\/inserting-images-into-githubs-wiki\/","title":{"rendered":"Inserting images into Github&#8217;s wiki"},"content":{"rendered":"<p>This is something I was not able to find clear information on.  Specifically, I wanted to add a flow chart I&#8217;d created to the wiki.  I&#8217;ll also be adding an ER diagram later.  It&#8217;s cool to have the important development documents somewhere where they can be accessed and perhaps edited from anywhere by anyone if need be. Github has a failing in this regard I think.  They should have an interface for this.<\/p>\n<p>The trick of it all is the wiki is itself a git repo. What you have to do is check out that repo.  In my case, my project was https:\/\/github.com\/jazahn\/HarvardCards. To checkout that project, you would use the command:<\/p>\n<p><code><br \/>\nclone git@github.com:jazahn\/HarvardCards.git .<br \/>\n<\/code><\/p>\n<p>But that&#8217;s the project.  The wiki is:<br \/>\n<code><br \/>\nclone git@github.com:jazahn\/HarvardCards.wiki.git .<br \/>\n<\/code><\/p>\n<p>So you have to check that out, add the image file to it, and then you can [[add the image]] via relative path image link.  https:\/\/github.com\/jazahn\/HarvardCards\/wiki\/Flashcard-Flowchart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is something I was not able to find clear information on. Specifically, I wanted to add a flow chart I&#8217;d created to the wiki. I&#8217;ll also be adding an ER diagram later. It&#8217;s cool to have the important development documents somewhere where they can be accessed and perhaps edited from anywhere by anyone if [&hellip;]<\/p>\n","protected":false},"author":4571,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63924,64008,3772,63993],"tags":[64010,64000,1029,842],"class_list":["post-315","post","type-post","status-publish","format-standard","hentry","category-atg","category-flashcards","category-git","category-version-control","tag-documentation","tag-github","tag-open-source","tag-wiki"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/users\/4571"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":1,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/315\/revisions\/316"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}