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.
Add the following configuration in the _config.yml of your site.
# hexo-filter-asciinema
asciinema:
enable: true
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)
- upgrade asciinema.js to 3.0.0-rc.1.
- fix
window.wrap
error.