Then the code block "example.config.js" should show line numbers

Assert a code block does (or does not) number its lines (showLineNumbers after the language).

Examples

Then the code block "example.config.js" should show line numbers
But the code block "server.js" should not show line numbers
Then code block "example.config.js" should show line numbers
And the code block "brew install example" should not show line numbers
And the code block "example.config.js" should show line numbers

Pattern

Then(/^(?:the )?code block "([^"]*)?" should( not)* show line numbers$/, …)

Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.