#mdbook #run-command #docker #output #plugin #script #show

bin+lib mdbook-docker-run

Plugin for mdbook which runs a script in docker and outputs the result

1 unstable release

0.1.0 Mar 25, 2024

#832 in Text processing

Download history 103/week @ 2024-03-20 31/week @ 2024-03-27 17/week @ 2024-04-03

151 downloads per month

MIT license

20KB
338 lines

mdbook-docker-run

CI Pipelines Documentation

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.

Example

If you put something like this into your book:

```docker-run
image: alpine
script:
  - echo hi
```

Will render as:

hi

License

MIT.


lib.rs:

mdBook Docker Run

Plugin for mdBook to run commands in Docker containers and display the output.

Dependencies

~22–36MB
~580K SLoC