Crates.io | mdbook-docker-run |
lib.rs | mdbook-docker-run |
version | 0.1.0 |
source | src |
created_at | 2024-03-25 15:58:13.322381 |
updated_at | 2024-03-25 15:58:13.322381 |
description | Plugin for mdbook which runs a script in docker and outputs the result |
homepage | |
repository | https://github.com/xfbs/mdbook-docker-run |
max_upload_size | |
id | 1185420 |
size | 68,552 |
Plugin for mdBook which allows you to run commands inside Docker containers and render their output inside your book. Use this if you want to show examples for CLI-based workflows, for example.
If you put something like this into your book:
```docker-run
image: alpine
script:
- echo hi
```
Will render as:
hi
MIT.