Checks Markdown under tutorials/.
Fenced code blocks must be closed. A relative link must point at a file
in the repository. An article whose status is draft or ready must
not still say placeholder:.
Summary
Functions
Checks every Markdown file under tutorials/.
args is ignored. A closed fence, a relative link that exists, and an
absolute or empty link are accepted. draft and ready articles that
still contain placeholder: are rejected.
Prints tutorials.check: N files and returns :ok when every file
passes. Otherwise prints one problem per line to stderr and raises
Mix.Error.
Examples
iex> ExUnit.CaptureIO.capture_io(fn -> Mix.Tasks.Tutorials.Check.run([]) end) =~ "tutorials.check:"
true