GitXplorerGitXplorer
n

Jekyll-plugins

public
39 stars
19 forks
1 issues

Commits

List of commits on branch master.
Unverified
b4239a3d84e60668964a4bfcd98f26b341239ced

Explain how to run bundler

nnono committed 11 years ago
Unverified
bff056248aabca5dae281fde58f9e942317cfae7

Add instructions for gemfile

nnono committed 11 years ago
Unverified
935197c44413b85be8cf7647c3144a913f2e1560

Merge pull request #4 from ben/master

nnono committed 12 years ago
Unverified
9b344c7e22f5ad0b8153c997b7732d14dc8ccf85

Albino: use lowercase symbols for language

bben committed 12 years ago
Unverified
355235541e4840e7f22159a3d06d4016a3e101b3

Update README

nnono committed 12 years ago
Unverified
e71297a2b1146143e02c745247458021dc788b53

Pass options to Redcarpet2Markdown

nnono committed 13 years ago

README

The README file for this repository.

Jekyll Plugins

To install the plugins simply put them in a folder named _plugins in your project directory.

Redcarpet 2

This plugin uses Redcarpet 2 to render Markdown, and pygments for syntax hightlighting.

You should install the dependencies with bundler. You can add these lines to your Gemfile:

gem 'redcarpet', '~> 2.3'
gem 'albino', '~> 1.3'

And then run bundle install.

It's possible to choose the redcarpet that you want to use by adding theses lines to the _config.yml file:

markdown: redcarpet2
redcarpet:
  extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript", "with_toc_data"]

And the nice bonus is that you no longer need to {% highlight %} to highlight code. You can simply use the fenced code blocks like on github:

```ruby
puts "This code will be highlighted"
```

Copyheart

Released under the MIT license.

♡2012 by Bruno Michel. Copying is an act of love. Please copy and share.