Adding logic to README.md for github page - html

I was thinking it'd be really cool to have a slideshow on the README.md page of my github repository to show progress of the program (GUI-based) since early development.
One way to do this would be to generate a GIF of the "slide-show" with various images. Is there a better way to do this?
Update: Found that you can create a github webpage with pages.github. Maybe I can add logic to this website rather than a ReadMe file.

Case closed:
As JB Nizet said above, I can do this easily in markdown.
My current solution, however, is to use github pages.

Related

Is it possible to make invisible commit to a GitHub repository?

I would like to make comments section for Jekyll that would use GitHub API and HTML forms and if possible little to none Javascript. And right now I'm wondering if anyone has achieved it.
No.
What you're talking about is not possible, for good reasons.
You could put together a server (not using GitHub Pages) that accepts form data and creates a commit using the GitHub API, but this is not exactly trivial.
You might be better off using something like Disqus for your comments.

custom rouge lexar in github pages?

This might be a yes/no question, because it's still not clear to me what level of Jekyll customization is allowed in Github pages. I've been tinkering a lot with code blocks and syntax highlighting and it seems since sometime in the last 9 months, the options for syntax highlighting in Github pages has been limited to rouge, which I think works pretty well. The documentation on this is brief and I've been getting more details scattered around the web. I was going to go to the trouble of making a custom lexar, following the wiki instructions, but if there's nowhere to slot this into my Github page, maybe it isn't worth the trouble. (Actually making the lexar probably wouldn't take very long... I'd just be simplifying another one).
My question is this: would my hypothetical custom lexar have to be implemented through a Jekyll plugin and thus not allowed on Github pages? Or is there another way? Thanks.

How to convert a Jekyll theme to Octopress theme

I started fiddling with Octopress recently, and I found a theme for Jekyll that I liked it.
The problem is that this theme doesn't have a similar structure that Octopress needs for themes.
I tried to clone the repo directly into my Octopress folder then use rake install['name-of-theme'] but that didn't work and I just got some errors about missing folders (source, sass).
So my question(s) is, how to install a theme for Jekyll with Octopress? is there a directory structure I need to follow? what are the minimum files requires to make it work?
I Googled a little bit but I didn't find anything related to converting a Jekyll theme.
Thanks.
You can't. The author of Octopress made his own theme layout and plugins to support it. Jekyll is meant for you to create your own theme layout as you wish (it's barebones). Think of Jekyll as a great framework to write your own static site, a store front or a wiki or a blog - from scratch. Octopress, on the other hand though, adds a framework on top of Jekyll: theme layout, a number of plugins defaulted for a blog site, SEO throughout the templates, a config file for controlling this framework-on-top-of-a-framework (Octopress framework on top of Jekyll framework). Basically, you can take Jekyll and write your own theme layout any way you wish; but with Octopress, you already have a strict theme layout to adhere to.
Octopress' rake install[] command to install a theme just copies a bunch of files to specific directories, following the authors specific theme format.
He's also changing the format from time to time as well, which usually breaks even older Octopress themes working on current Octopress sites (doesn't seem to worry about backwards compatibility). I know: I really tried some old responsive ones I found only to get errors with the latest Octopress as of April 2014.
Anyhoot, after many tries, I finally just sat down and copy-n-pasted the HTML into a new Octopress theme manually myself. Created my own "theme" to try to get some older Octopress themes working.
Still didn't like it as it was buggy (and I was trying several older Octopress themes); so, I gave up and just wrote my own Octopress theme from scratch and moved on. Personally, I don't like how Octopress' layout is, well, laid out. Far too many freakin incremental files. I basically just built my own from scratch and skipped several of the "custom" stuff. This allowed me the freedom of mocking up my own raw responsive set of HTML files and organize it how I wish (http://eduncan911.com).
I understand why he added the custom stuff in the last few months: for people that don't know much about frontend or just wanted a quick place to tweak this font, change that color, or just add a JS script to the custom footer and be done with a plugin.
Me? I already had a full HTML/JSS responsive HTML mockup I wanted to use. I only needed to utilitze Octopress' articles and show/hide the pagenation and comments. I didn't need that elaborate Octopress template layout. Though, now if anyone wants my theme, they can only copy exactly what I did and will need to modify it as they want. I did keep the SCSS generation though, as I like SCSS.
https://github.com/eduncan911/eduncan911.github.io/tree/source

What blogging platforms provide tools for developer-bloggers?

I am looking for a blogging platform that has built in tools for programming-related content. For example, I've seen blogs that have line-numbers, color-coded line separation, code-formatting and tool tips for copying and pasting code-samples. Some of these are better than others. (I'm sure I'm not the only one here who gets annoyed by blog entries with posted source that you can't copy without also copying all the line numbers). So, my question is what blogging-platform does the community recommend for a developer-oriented blog?
er...none that i know of. at the moment, you have to get the bits and pieces together. for my own blog (Blogger, so i'm limited in addons), i use Highlight code converter to generate the display HTML/inline CSS, clean it up a bit (the default settings assume you're creating an entire web page from the code) by removing unnecessary markup, then using it in my blog posts.
Wordpress has the code highligthing feature using some addins, if you are going to host it yourself it will be a very good option to use Wordpress.
BlogDown is a static blogging platform, so it can be hosted on GitHub. You can write posts with markdown files, which has great support for code snippets. You can write your own themes and modules for it also. Unlike Jekkyl, BlogDown does not have a compilations step. You just swap out the markdown files, and you're good to go. It's also worth noting that BlogDown supports custom renderers.

testing blog locally?

I have a blogger template (xml file). Is there any way to test or run the blogger theme locally?
No, you cannot build them offline. You can only preview/test/build them in the live Blogger system.
Here is a great article that addresses that among a ton of other factors.
You might be able to hack a local test together with Firefox Web Developer Plugin + FireBug extension (modify the website code locally).
The easier way: a sample blog to test it?
If I remember correctly, you should be able to perform a preview of your template from within blogger, but maybe that was with old-style templates?
The only way to test the templates is using a test blog ready all the time.
Not a cool way though but works.
Searching for a different way and didn't got one.