Asciinema
记录与分享终端会话。
快速上手¶
MkDocs¶
针对 MkDocs,Asciinema 由以下分享/嵌入方式:
- 分享链接
- 图片链接
- 播放器
分享链接和图片链接,需要依赖 asciinema
服务。故使用播放器,但 MkDocs 不直接支持,见 Issue。
示例¶
插件¶
安装插件 mkdocs-asciinema,手动添加 Asciinema Player 依赖。
配置 mkdocs.yml
:
extra_css:
- stylesheets/asciinema-player.css
extra_javascript:
- javascripts/asciinema-player.min.js
plugins:
- mkdocs-asciinema
资源¶
- Asciinema
- Asciinema Player
- Embedding asciinema cast in your Hugo site Juan Enciso
- Demo videos as code with asciicast
- MkDocs Plugins
- MkDocs Plugin Dev Guide
- MkDocs Plugin Template
- Makefile venv
- Python Packaging User Guide
- Setuptools quickstart
- How to Publish an Open-Source Python Package to PyPI
- The .pypirc file
最后更新: September 10, 2023