+ [10 years ago] jekyllrb Title: ariestiyansyah/naringu · GitHub (at github.com)
+ [10 years ago] FernandoBasso I am trying to get started on a "command line wiki" thing.

message no. 80470

Posted by KingMe in #jekyll at 2015-02-20T00:09:13Z

hi I am having trouble following this Jekyll instruction
+ [10 years ago] nick___ Hi I have a website hosted on github pages. I want to return the contents of a github code file (sample.cpp) whenever code.html is accessed on my website. Any suggestions on how can I do this?
+ [10 years ago] nick___ For example: I want to return the contents of https://github.com/sleuthkit/sleuthkit/blob/develop/samples/callback-style.cpp whenever myJekyllWebsite.com/code/code.html is accessed
+ [10 years ago] jekyllrb Title: sleuthkit/callback-style.cpp at develop · sleuthkit/sleuthkit · GitHub (at github.com)
+ [10 years ago] willnorris nick___: probably simplest to load it straight from the GitHub API with some client-side javascript
+ [10 years ago] nick___ I saw that there is a gist tag to embed gists (http://jekyllrb.com/docs/templates/#gist) and hence was wondering if there is a similar tag for embeding github code files