Skip to content

Files

Latest commit

30be326 · Apr 4, 2024

History

History
This branch is 13 commits behind primer/octicons:main.

octicons_jekyll

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 12, 2024
Mar 12, 2024
Mar 26, 2018
Mar 12, 2024
Apr 4, 2024
Mar 12, 2024
Feb 22, 2023
Mar 14, 2024
Mar 12, 2024

jekyll-octicons

Gem version

The Jekyll liquid tag is a plugin that lets you include octicons in your Jekyll sites.

Install

  1. Add this to your Gemfile

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

    plugins:
      - 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 @primer/octicons npm module. You can also npm install that package and include build/build.css in your styles.