the.bay.news

Markdown-doctest: transform code blocks and include them as doctests

The Rust Programming Language Forum
Markdown-doctest: transform code blocks and include them as doctests
I would like to present to you markdown-doctest, a Rust library for including and transforming Rust code blocks of Markdown files as Rust doctests. While regular doctests can use the prefix # to hide lines from the rendered documentation, this is not possible for code blocks in Markdown files. So if you want to for example test code snippets of your README, you normally need to include redundant boilerplate code in them[1]. markdown-doctest supports specifying transforms which can insert and ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.