https://github.com/morizyun/gitbook-plugin-amazon-jp-link
Generate a link for amazon.co.jp for gitbook
https://github.com/morizyun/gitbook-plugin-amazon-jp-link
gitbook-plugin javascript
Last synced: about 1 month ago
JSON representation
Generate a link for amazon.co.jp for gitbook
- Host: GitHub
- URL: https://github.com/morizyun/gitbook-plugin-amazon-jp-link
- Owner: morizyun
- License: apache-2.0
- Created: 2017-04-02T01:46:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T03:40:10.000Z (almost 9 years ago)
- Last Synced: 2025-08-23T15:27:24.691Z (8 months ago)
- Topics: gitbook-plugin, javascript
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gitbook-plugin-amazon-jp-link
==============
Generate a link for amazon.co.jp.
### Installation
Adds the plugin to your `book.json`, then run `gitbook install` if you are building your book locally.
```json
{
"plugins": ["amazon-jp-link"]
}
```
### Usage
#### Generate Link tag
```md
{% AmazonJpLink "B01N59VNQY", "johndue-22" %}macOS Sierra{% endAmazonJpLink %}
```
Generate the following html:
```html
macOS Sierra
```
#### Generate Image tag
```md
{% AmazonJpImage "B01N59VNQY", "johndue-22", "150" %}macOS Sierra{% endAmazonJpImage %}
```
Generate the following html:
### Development
#### Test for plugin
**[Test your plugin · GitBook Toolchain Documentation](https://toolchain.gitbook.com/plugins/testing.html)**