该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

asciiplayer

描述

This plugin lets you easily use the official asciinema-player.

Usage

An asciicast is a recording made with asciinema. Upload your asciicast
anywhere in your web server; you can do that within
Wordpress (just go to the “Media>Add New” menu and upload your asciicast).

Enter the HTML editor to write a post or a page. Then add the
following HTML tag: <asciinema-player src="/demo.json"></asciinema-player>.
Remember to replace the value of the src attribute with the location of
your asciicast.

You can use every option of asciinema-player. Check out
its readme
to find out every option.

安装

Install this plugin via the plugin directory, or by uploading the files manually to your server.

常见问题

Installation Instructions

Install this plugin via the plugin directory, or by uploading the files manually to your server.

Does this plugin contains the official asciinema-player?

Yes.

评价

2018 年 10 月 1 日
It includes the 600kb script in all pages and not only where it's used. Not the latest player version included and i get an error 404 the map file was not found.
阅读所有2条评价

贡献者及开发者

“asciiplayer” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“asciiplayer”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.1

Update player (now it uses version 2.4.1 of asciinema-player)

0.1.0

Initial version