If you want to step through your cucumber scenarios simulating an interactive debugger, add this hook:
AfterStep('@pause') do print "Press Return to continue..." STDIN.getc end
Then tag any feature with “@pause” and you’re all set.
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.