0.0.8 • Published 8 years ago

hexo-tag-hatenabookmark v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hexo-tag-hatenabookmark plugin

Build Status npm version Build Status

Hexo embed code snippet Hatena Bookmark

Install

Install using npm.

$ npm install hexo-tag-hatenabookmark --save

Usage

In theme file

# theme ejs file
<%- hatenabookmark(page.permalink, page.title, 'standard-balloon') %>

In source file

# post markdown file
{% hatenabookmark permalink-your-post title-your-post standard-balloon %}

Options

hatenabookmark(url, title, type, lang)

  • url: Bookmarked url.
  • title: Bookmarked title.
  • type: Bookmark button type
  • lang: Bookmark button language (ja or en)

Bookmark button type is simple, simple-balloon, standard-balloon, standard-noballoon and vertical-balloon.

If you chose simple or simple-balloon bookmark button , it is not possible to select a bookmark language. ( This will always be ja)

More information see Hatena Bookmark Button page.

License

MIT © kazu69

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago