markdown audio plugin for GitBook
Plugin for GitBook 3 which renders audio detected in the book markdown.
How to install it?
You can use install via NPM:
$ npm install gitbook-plugin-mp3payer-7dtime
And use it for your book with in the book.json:
{
"plugins": ["mp3player-7dtime"]
}
How to use it?
Just put the mp3 list into fenced code block and tag it mp3 key word like this:
[ { title: "AAA", cover: "images/cover0.jpg", mp3: "http://example.com/1.mp3", }, { title: "BBB", cover: "images/cover1.jpg", mp3: "http://example.com/2.mp3", }]
## Thanks Thanks to PROMULGATOR, the original author of this mp3 player. You can find the source cod of this mp3 player at http://www.jq22.com/jquery-info3249