hexo添加插入pdf功能

NexT v7版本可参考:https://www.zhyong.cn/posts/437b/#pdf

简介

Hexo tag for embeded pdf

GitHub地址:https://github.com/superalsrk/hexo-pdf/

安装

npm install --save hexo-pdf

使用

Normal PDF

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

or

1
{% pdf ./bash_freshman.pdf %}

Google drive

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

Slideshare

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

演示效果

坚持原创技术分享,您的支持将鼓励我继续创作!
0%