Email or username:

Password:

Forgot your password?
Axel Rauschmayer

Are you interested in tools that let you test code in Markdown files?

I suspect it’s a niche but an important one for tech writers—e.g.: It took me a lot of work to test all code examples in my books (*) automatically but it was more than worth it! I detected many issues.
(*) exploringjs.com

Anonymous poll

Poll

Very interested
7
0%
Somewhat interested
9
0%
Not interested
1
0%
0 people voted.
Voting ended 26 February at 18:42.
2 comments
Matthew Martin

@rauschma Not a niche if you think about how jupyter notebooks are essentially executable code in a file that mixes markdown and code. If you start writing a lot of code in code blocks in markdown, pretty soon you need the entire tool chain to support it (formatters, linters, run-as-script, import library from code block, test running, etc).

Anyhow at least 3 projects in python doing this: github.com/matthewdeanmartin/m

@rauschma Not a niche if you think about how jupyter notebooks are essentially executable code in a file that mixes markdown and code. If you start writing a lot of code in code blocks in markdown, pretty soon you need the entire tool chain to support it (formatters, linters, run-as-script, import library from code block, test running, etc).

AliveDevil

@rauschma
Automatic redirect to <lang>.godbolt.org, with filled in script would be interesting.
But that requires, that the Markdown is complete in the first place.

Most of the time code examples in C#/C++ aren't full-fledged samples, due to the sheer number of possible environments.

Go Up