-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to print a GherkinDocument to text with pretty format #118
Comments
Do you mean:
REGARDING: Syntax coloring / highlighting
# — FILE: features/example.feature
Feature: Example 1
Scenario: S1
Given a step passes
When another step passes |
Thank you for your reply, but it seems that your intention is to use the formatting of the editor when writing a '.feature' file?
type GherkinDocument struct {
Uri string `json:"uri,omitempty"`
Feature *Feature `json:"feature,omitempty"`
Comments []*Comment `json:"comments"`
} |
thanks |
Since I have a GherkinDocument, I wonder how to write it into a file with a pretty format?
The text was updated successfully, but these errors were encountered: