#docker #show-output #mdbook-plugins #docker-run #plugin #plugin-for-mdbook

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

#6 in #show-output

MIT license

20KB
345 lines

mdBook Docker Run

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


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.

Dependencies

~22–40MB
~616K SLoC