Skip to content

Fancy footnote popovers with native Javascript, for any Jekyll site.

License

Notifications You must be signed in to change notification settings

rtoohil/littlefoot

 
 

Repository files navigation

Octopress Littlefoot

Fancy footnote popovers with native Javascript, for any Jekyll site.

Build Status Gem Version License

Installation

Add this line to your application's Gemfile:

Installation

If you're using bundler add this gem to your site's Gemfile in the :jekyll_plugins group:

group :jekyll_plugins do
  gem 'octopress-littlefoot'
end

Then install the gem with Bundler

$ bundle

To install manually without bundler:

$ gem install octopress-littlefoot

Then add the gem to your Jekyll configuration.

gems:
  - octopress-littlefoot

Setup

Add {% js_asset_tag %} and {% css_asset_tag %} to your site's layout to automatically add Littlefoot's assets to your site whenever jekyll builds it.

To add a footnote to a Markdown document, use this syntax:

Here is some text containing a footnote.[^1]

[^1]: Here is the text of the footnote itself.

Contributing

  1. Fork it ( https://github.com/octopress/littlefoot/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Fancy footnote popovers with native Javascript, for any Jekyll site.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 45.9%
  • CSS 44.1%
  • Ruby 5.5%
  • HTML 4.5%