redconfetti.github.io

redconfetti.github.io

Jekyll source for RubyColoredGlasses.com

RubyColoredGlasses

Source code for rubycoloredglasses

Installation

Install RBenv

Install RBenv

After you've installed RBenv, run the command rbenv install.

Install Gems

This blog requires that you install the Bundler gem, and then run bundle install to install all needed gem dependencies.

gem install bundler
bundle install

Jekyll

This blog is powered by Jekyll

The configuration for the site are stored in config.yml. See Jekyll Docs - Configuration

Server

You can run jekyll serve in the terminal, and then visit http://127.0.0.1:4000/ to preview the site as you work on it.

Plugins

Search page is powered by Simple-Jekyll-Search

Due to lack of Jekyll plugin support with Github pages, search.json had to be configured with supported Liquid Template Filters to ensure that the generated JSON used for the search is valid.

Style Guide

Markdown

Code Highlighting

Code highlighting is supported by the Rouge gem.

It's recommended that you use Markdown syntax to wrap code examples.

```ruby
def some_method
  puts "this is some method"
end
```

See Rouge Wiki - List of supported languages and lexers for reference.

Presentations

I intend to contribute presentations powered by Reveal.js

Reveal JS Demo