+[10 years ago]ariestiyansyahhttp://github.com/ariestiyansyah/naringu +[10 years ago]jekyllrbTitle: ariestiyansyah/naringu · GitHub (at github.com) +[10 years ago]FernandoBassoThanks. +[10 years ago]ariestiyansyahsure, please fork and contribute +[10 years ago]FernandoBassoI am trying to get started on a "command line wiki" thing.
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]jekyllrbTitle: sleuthkit/callback-style.cpp at develop · sleuthkit/sleuthkit · GitHub (at github.com) +[10 years ago]willnorrisnick___: 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