#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

#1512 in Text processing

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–39MB
~583K SLoC