Skip to content

rmcfadzean/jekyll-codepen

Repository files navigation

Jekyll::Codepen

Gem Version

Table of Contents

Features

Easily embeds codepens into your Jekyll projects.

Requirements

Setup

Add the following to your Gemfile:

gem "jekyll-codepen"

(Optionally) Add the following to config.yml

gems:
  - jekyll-codepen

codepen:
  theme: 11473
  height: 300
  preview: false
  default_tab: result

Usage

{% codepen https://codepen.io/blindingstars/pen/wBexpr %}

or with any of the config options from above

{% codepen https://codepen.io/blindingstars/pen/wBexpr height=800 preview=true %}

Versioning

Read Semantic Versioning for details. Briefly, it means:

  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
  • Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

Copyright (c) 2017 Rob McFadzean. Read LICENSE for details.

About

Jekyll plugin to embed codepens

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published