Skip to content

Latest commit

 

History

History
 
 

octicons_jekyll

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Octicons jekyll tag

Gem version Build Status

A liquid jekyll tag that injects Octicon svg into the page

This jekyll liquid tag, is a plugin that will let you easily include svg octicons in your jekyll sites.

Install

  1. Add this to your Gemfile

    gem 'jekyll-octicons'
  2. Add this to your jekyll _config.yml

    gems:
      - jekyll-octicons
  3. Use this tag in your jekyll templates

    {% octicon alert height:32 class:"right left" aria-label:hi %}
    

We recommend including the CSS in the octicons_node module. You can also npm install that package and include build/build.css in your styles.

Documentation

For a full list of options available, see the octicons_gem documentation

License

(c) GitHub, Inc.

When using the GitHub logos, be sure to follow the GitHub logo guidelines.

MIT