1.1.3 • Published 2 years ago

hexo-pdf-better v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

hexo-pdf-better

MIT VERSION

Hexo tag for embeded pdf

Install

$ npm install --save hexo-pdf-better

Optional

Optional configurations are as follows

pdf:
  enable: true          # default: true
  width: '100%'         # default: 100%
  height: '1024px'      # default: 550px

Usage

Normal PDF

{% pdf ./bash_freshman.pdf %}

or

{% pdf http://7xov2f.com1.z0.glb.clouddn.com/bash_freshman.pdf %}

Google drive

{% pdf https://drive.google.com/file/d/0B6qSwdwPxPRdTEliX0dhQ2JfUEU/preview %}

Slideshare

{% pdf http://www.slideshare.net/slideshow/embed_code/key/8Jl0hUt2OKUOOE %}

Preview

Normal PDF

npm.io

Google drive

npm.io

Slideshare

npm.io

Thanks

1.1.3

2 years ago

1.1.2

2 years ago