Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

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.

About

[Deprecated] My plugins for Jekyll

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.