Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanburnette/middleman-gist
https://github.com/ryanburnette/middleman-gist
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryanburnette/middleman-gist
- Owner: ryanburnette
- License: apache-2.0
- Created: 2015-05-22T22:13:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-28T03:44:41.000Z (about 7 years ago)
- Last Synced: 2024-11-14T17:11:52.052Z (3 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# middleman-gist
A helper for embedding Github Gists into a Middleman site. Saves 4.2 seconds.
## Usage
```ruby
# Gemfile# Middleman 3
gem "middleman-gist", "0.0.14"# Middleman 4
gem "middleman-gist", "0.1.1"
``````ruby
# config.rb
activate :gist
``````erb
# post.html.erb
<%= gist "ryanburnette", "a22f81bd38710e82452a" %>
```