mdbook-repl 0.1.0

A rust based mdbook preprocessor plugin that allows you to live code in your markdown book.
1
2
3
4
5
<div class="repl" data-id="{id}" data-lang="{lang}">
  <iframe src="https://mr-addict.github.io/mdbook-repl/embed" allow="clipboard-write"></iframe>
</div>

{code}