hexo-filter-asciinema

1.0.6 • Public • Published

hexo-filter-asciinema

npm NPM version npm Codacy Badge GitHub license

NPM

Desciption

A simple plugin which can embed asciinema-player in your article with local file.

Though the plugin hexo-tag-asciinema does a similar thing . That one relies on asciinema.org , while this one relies just on local file.

Configuration

Add the following configuration in the _config.yml of your site.

# hexo-filter-asciinema
asciinema:
  enable: true

Usage

When you want to add asciicast.json in your article, just put the file in the right place and write like this:

[@asciinema](path/to/asciicast.cast)

Release

1.0.6

  • upgrade asciinema.js to 3.0.0-rc.1.
  • fix window.wrap error.

Readme

Keywords

Package Sidebar

Install

npm i hexo-filter-asciinema

Weekly Downloads

7

Version

1.0.6

License

MIT

Unpacked Size

204 kB

Total Files

10

Last publish

Collaborators

  • mythsman