Nattily Polished Marbles

    hexo-pdf-better

    1.1.3 • Public • Published

    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

    Google drive

    Slideshare

    Thanks

    Keywords

    Install

    npm i hexo-pdf-better

    DownloadsWeekly Downloads

    2

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    450 kB

    Total Files

    7

    Last publish

    Collaborators

    • rqh656418510