Skip to main content

A Mkdocs Plugin to include asciinema player in your documentation.

Project description

mkdocs-asciinema-player

Gitpod ready-to-code

A Mkdocs Plugin to include asciinema player in your documentation.

Setup

Install the plugin via pip :

pip install mkdocs-asciinema-player

Configure

In your mkdocs.yml, add asciinema-player to the plugins section :

plugins:
  - search
  - asciinema-player

In your .gitignore file, add this part to ignore copied files :

# Auto generated assets
docs/assets/css
docs/assets/js

Usage

In your MkDocs docs folder, add any asciinema .cast file and add this to any markdown page :

```asciinema-player
{
    "cast_file_path": "assets/asciinema/bootstrap.cast"
}
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs-asciinema-player-0.4.0.tar.gz (77.4 kB view details)

Uploaded Source

Built Distribution

mkdocs_asciinema_player-0.4.0-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-asciinema-player-0.4.0.tar.gz.

File metadata

File hashes

Hashes for mkdocs-asciinema-player-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1058cb023d536f11fc2d4767273d300d86df0405d0b7e10ccb0b6d5b5a2f6242
MD5 424b6bbf0954b4f8a8caf6bd51318d0d
BLAKE2b-256 29700d96ae8a0004f8b404265c38ea091d8c1ae2706e4fe480bc93fa5fc3d062

See more details on using hashes here.

File details

Details for the file mkdocs_asciinema_player-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_asciinema_player-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2b8571f7da6bbb296d539a25684202a7d54d87ae49b06bd91cae2304b53339
MD5 ab803a51cd32cc893e79d5030f920fa0
BLAKE2b-256 daa27901488410bccfc440292789c968b91f2988d27713b121fd61a74fd6c5eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page