Generate a link for amazon.co.jp for hexo.
Please execute the following command in your hexo project root:
npm install hexo-amazon-jp-link --save
{% AmazonJpLink "B01N59VNQY" "johndue-22" "macOS Sierra" %}
Generate the following html:
<a href="http://www.amazon.co.jp/gp/product/B01N59VNQY/ref=as_li_qf_sp_asin_il?ie=UTF8&camp=247&creative=1211&creativeASIN=B01N59VNQY&linkCode=as2&tag=johndue-22" target="_blank">
macOS Sierra
</a>
<img src="http://www.assoc-amazon.jp/e/ir?t=johndue-22&l=as2&o=9&a=B01N59VNQY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;">
{% AmazonJpImage "B01N59VNQY" "johndue-22" 150 %}
Generate the following html:
<a href="http://www.amazon.co.jp/gp/product/B01N59VNQY/ref=as_li_qf_sp_asin_il?ie=UTF8&camp=247&creative=1211&creativeASIN=B01N59VNQY&linkCode=as2&tag=johndue-22" target="_blank">
<img border="0" src="http://ws.assoc-amazon.jp/widgets/q?_encoding=UTF8&ASIN=B01N59VNQY&Format=_SL300_&ID=AsinImage&MarketPlace=JP&ServiceVersion=20070822&WS=1&tag=johndue-22" width="150" style="float: left; margin: 0 20px 20px 0;" />
</a>
<img src="http://www.assoc-amazon.jp/e/ir?t=johndue-22&l=as2&o=9&a=B01N59VNQY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;">
{% AmazonJpCustomImage "B01N59VNQY" "johndue-22" "http://example.com/image/example.jpg" %}
Generate the following html:
<a href="http://www.amazon.co.jp/gp/product/B01N59VNQY/ref=as_li_qf_sp_asin_il?ie=UTF8&camp=247&creative=1211&creativeASIN=B01N59VNQY&linkCode=as2&tag=johndue-22" target="_blank">
<img border="0" src="http://example.com/image/example.jpg" />
</a>
<img src="http://www.assoc-amazon.jp/e/ir?t=johndue-22&l=as2&o=9&a=B01N59VNQY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;">