You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2019. It is now read-only.
We've just added a feature to relishapp[1] which passes each Feature's description through a markdown formatter.
The problem I've hit is that gherkin seems to be stripping the whitespace which I'd have expected to be left at the start and end of lines in the description. Whitespace is quite important for markdown formatting: you need to add two spaces to the end of the line to make it write a <br/> tag, and you're probably familiar with four space indents for pre-formatted blocks.
I've added a failing scenario in my fork of gherkin[2] but I'll need some help making it pass, assuming that it's possible and you guys think it's a good idea.
We've just added a feature to relishapp[1] which passes each Feature's description through a markdown formatter.
The problem I've hit is that gherkin seems to be stripping the whitespace which I'd have expected to be left at the start and end of lines in the description. Whitespace is quite important for markdown formatting: you need to add two spaces to the end of the line to make it write a <br/> tag, and you're probably familiar with four space indents for pre-formatted blocks.
I've added a failing scenario in my fork of gherkin[2] but I'll need some help making it pass, assuming that it's possible and you guys think it's a good idea.
[1] http://relishapp.com/relish/relish/dir/projects/render-description-as-markdown
[2] https://github.com/mattwynne/gherkin/blob/respect-for-whitespace-in-descriptions/features/json_formatter.feature#L278
The text was updated successfully, but these errors were encountered: