Closed tenwit closed 6 years ago
Hi @tenwit, thanks for your pull request! I'll test and merge it as soon as I find the time. :+1:
@tenwit I just published version v0.1.4 with your changes. In a future release I plan to make a full redesign of the report, where I will also add basic code highlighting for the source code blocks.
The existing behavior is to display "When: ----" or similar for the block text. This remains when com.athaydes.spockframework.report.showCodeBlocks is false. When it is true, the code associated with the block is pasted.
CSS is not added yet. A further improvement would be to remove the blocks entirely when showCodeBlocks is false.