Docs as tests
These pages show how documentation becomes tests. Each example takes one procedure and shows it four ways:
Each text tab holds Markdown, MDX, AsciiDoc, HTML, reStructuredText, and DITA, unless a format can’t express the feature. The page then says why. Every file is real, and Doc Detective runs each one. A check confirms that the inline and standalone variants resolve to the same steps, and that the detected variants agree with each other.
For how each mode works, see Detected tests, Inline tests, and Standalone tests.
Find an example
What each mode can express
With your own fileTypes rules, detection can produce any step from the prose. See Custom detection.