1.1.0 • Published 6 years ago

hexo-tag-instagram v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

hexo-tag-instagram

Simply Embed Instagram photo and movie tag plugin for Hexo.

Introduction

This is a Hexo tag plugin which allows you to simply embed Instagram photo on your blog posts.

DEMO

Installation

npm install hexo-tag-instagram --save

Usage

{% instagram post-url %}

or

{% instagram shortcode %}

Example

For example, if you want embed this posts (This posts shortcode is BXkz1bYB1-N), please enter the following this.

{% instagram https://www.instagram.com/p/BXkz1bYB1-N/ %}

Also, the above example can coding differently.

{% instagram BXkz1bYB1-N %}

Customization

This plugin can specify the following options.

  • captioned
  • width

caption & size

You can decide whether to display the caption of posts of instagram. ( By default the caption is displayed. )

Please edit your _config.yml as following example.

# captioned: false. Hide the captions of all instagrams.
# width: set the width of all instagrams
tagInstagram:
  captioned: false
  width: 50%

Also, can customize individually by posts. please edit your your-posts-markdown.md as following example.

{% instagram false 50% https://www.instagram.com/p/BXkz1bYB1-N/ %}

License

MIT

1.1.0

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago