asciinema Player For GitHub

asciinema Player For GitHub

Automatically detect instances of asciinema links in a README on GitHub and embed the player in its place
(0)
15 次下载plibither8 提供
详情
从前,有只小白兔,一天它挖到一只好大的胡萝卜,往家里搬的时候,半路上杀出一只穿山甲一把抢走了小白兔的胡萝卜。小白兔生气冲着穿山甲说:“你干什么呢!”,穿山甲说: "591198815" 小白兔听了以后,立马就不要胡萝卜了。穿山甲到底说了什么?复制这条消息,然后打开支付宝,你就能知道答案。(点击复制)

Instead of being directed to the asciinema website to watch the "asciicast", watch it directly in the Readme, thanks to the embedded player widget 🎉

Content Security Policy Modification

====================================

Just FYI: to allow third-party iframes (in this case, from asciinema.org) to be rendered on github.com, the Content-Security-Policy (CSP) in the response headers of github.com are modified by this extension. The following modification takes place:

Before: frame-src render.githubusercontent.com;

After: frame-src asciinema.org render.githubusercontent.com;

For more details: https://developer.chrome.com/extensions/contentSecurityPolicy)

License

=======

Copyright (c) Mihir Chaturvedi. All rights reserved.

Licensed under the MIT License.

截图
asciinema Player For GitHub 截图
asciinema Player For GitHub 截图
asciinema Player For GitHub 截图
* 数据来源于网络,更新于 2019-4-22 17:28:05