Skip to content
💿 A simple plugin which can embed asciinema-player in your article.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources
.eslintignore
.eslintrc
.gitignore
.jscsrc fix bugs Apr 1, 2018
LICENSE
README.md
index.js
package.json add support for subdirectory Apr 16, 2018

README.md

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)
You can’t perform that action at this time.