Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to embed a github git README file on a website

I am making a website for someone and they want to be able to have that site fetch the github readme markdown file at a certain URL and display it on the website, so that instead of having to write the readme in two places, it just pulls from github. Is that possible? How do I do it? I saw this:

https://github.com/coreyti/showdown

which turns markdown into html, but I'm still not how I would fetch the readme URL and convert it into an object that showdown could parse.

Any ideas would be greatly appreciated.

like image 539
mheavers Avatar asked Apr 25 '13 23:04

mheavers


1 Answers

You can use StackEdit. It allows you to publish your markdown document on Github and on others locations at the same time in Markdown or HTML format. For instance, you could publish the HTML on a public Google Drive or Dropbox location.

NOTE: I'm the developer of StackEdit

like image 56
benweet Avatar answered Sep 23 '22 23:09

benweet