Skip to content

jekyll-pdf-embed 1.0.3

Install from the command line:
Learn more about RubyGems packages
$ gem install jekyll-pdf-embed --version "1.0.3"
Install via Gemfile:
source "https://rubygems.pkg.github.com/mihajlonesic" do
  gem "jekyll-pdf-embed", "1.0.3"
end

About this version

Jekyll PDF Embed Gem Version License: MIT

Jekyll PDF Embed is a ruby gem for Jekyll static site generator. It allows user to easily embed external or local PDF files to any page or blog post.

Installation

Add this line to your Gemfile:

group :jekyll_plugins do
  gem "jekyll-pdf-embed"
end

And then execute:

$ bundle

Alternatively install the gem yourself as:

$ gem install jekyll-pdf-embed

and put this in your _config.yml

plugins:
  - jekyll-pdf-embed

Usage

You can use external PDF files

 {% pdf "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf" %}

or local

 {% pdf "/files/pdf/sample.pdf" %}

Use no_link to hide link to pdf file ('View PDF' header)

 {% pdf "/files/pdf/sample.pdf" no_link %}

Result

The embedded pdf output

DEMO

Details


Assets

  • jekyll-pdf-embed-1.0.3-rubygems.gem

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0