Setup Steps31 Oct 2014
Lately I was struggling to find free time for the blog. I heard about GitHub pages but never looked at the whole process. Jekyll Now caught my eye.
The beauty of GitHub pages is that you write a content in Markdown, push post file to the repository and rest is taken care by GitHub and Jekyll. I decide to give it a try to simplify my blogging process.
Here are the steps i followed: 1. Setup Jekyll locally to test the process: Install Jekyll on Windows
Add Python for highlighting source code I.e. pygments Please note for
pygmentsto work you need install python 2.7 and it to path
I used Lanyon theme : Poole, Hyde, Lanyon themes
Write the post in R Markdown, for example using R Studio and convert to Jekyll Markdown using KnitPost
To create Jekyll site:
and browse to http://localhost:4000/
Once you happy with results, commit your changes to repository and check your site.
I did not found a feature in Markdown to open a link in new window, but following question / answer solves the problem: Open links in the new window
R Blogs that are using Jeykill and GitHub pages:
Running and publishing results / reports of automated stadies / strategies becomes very simple. for example each before market open
- run strategy back-test create report / list of trades
- push final Markdown file with details to GitHub The report will automatically be published.
This process can be scheduled and 100% automatic.
For Comments, I used disqus I add
comments: truefor pages i want to have comments. My current plan is to keep this flag true for only recent pages (i.e. month old). And once there is over a month since the post, close comments and export comments from disqus and merge exported comments with actual post using. There is more reading to do:
- Jekyll Disqus comments
- Example YAML file in _comments
- Adding a static comments system to my Jekyll build