Skip to content
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

Specfication formatting - moves comment metadata below specs #532

Open
srizzling opened this issue Dec 17, 2020 · 3 comments
Open

Specfication formatting - moves comment metadata below specs #532

srizzling opened this issue Dec 17, 2020 · 3 comments

Comments

@srizzling
Copy link

Describe the bug

When specifying comments like below

<!-- Space: testing -->
<!-- Title: test -->

When for you format the document, it moves the comments below the specification header like this

markdown-comments

I'm hoping that the metadata This is used to add metadata to specs.. which can then be processed by a internal tool to push to confluence / jira,

Is there anyway this behaviour in particular can be suppressed or ignored?

@zabil
Copy link
Member

zabil commented Dec 17, 2020

This is a bug. Unfortunately there's no workaround for this at the moment.

@srizzling
Copy link
Author

If I wanted to tackle this - where would I start?

@zabil
Copy link
Member

zabil commented Dec 21, 2020

You could start by writing a test to cover this case at https://github.com/getgauge/gauge/blob/master/formatter/formatter_test.go

The test above invokes the formatter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants