npm.io
1.0.1 • Published 10 years ago

hexo-tag-niconico

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0
Stars
6

hexo-tag-niconico

Embed niconico douga or seiga or nama in your Hexo post/page.

日本語READMEはこちらへ

Douga(Movie)

Douga(Movie) thumb version

Seiga(Illustrations)

Nama(Live broadcast)

Install

npm install hexo-tag-niconico@latest --save

Usage

  1. Create post base. hexo new title
  2. Provides a tag in the article. See How To Write Tag section.
  3. Generate your static post. hexo generate
  4. Open your Browser. type 0.0.0.0:4000 or localhost:4000

Please see this link for more information. Hexo Document

How To Write Tag

Douga(Movie)

{% douga dougaId [thumb] %}

Douga ID is a number starting with sm. e.g):sm27258895 By adding the thumb, the style changes.

Seiga(Illustrations)

{% seiga seigaId %}

Seiga ID is a number starting with sm. e.g):im5282760

Nama(Live broadcast)

{% nama namaId %}

Nama ID is a number starting with sm. e.g):lv237041631


Known issues

If the your Hexo Blog URL begins with https:// not this feature.
This is a limitation of the security. confirmed in chrome and firefox.

Can be displayed by changing the URL to http:// in this case to resolve.


Misc

Update
npm update
Uninstall
npm uninstall hexo-tag-niconico