How to use executable code
hasanAjsf opened this issue · 1 comments
hasanAjsf commented
Hi.. well this is not a bug reporting, this is a question and request for assistant.
How you got the you write at .md
a:
To appear as executable code at the book:
What shall I do to write a code like this, I noticed this in many books
about rust, but do not know what they call it, and how they do it :)
Thanks
tshepang commented
mdbook does it for you magically, so long as you annotate the code block as rust
(look at the source).