hashicorp / hashicorp/terraform-plugin-docs
SchemaMarkdown introduces unhelpful new lines
- Dominant language
- Go
- Stars
- 263
- Forks
- 84
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 2
Description
### Terraform CLI and terraform-plugin-docs Versions
github.com/hashicorp/terraform-plugin-docs v0.24.0 // indirect
❯ terraform version
Terraform v1.14.0
on darwin_arm64
### Provider Code
```go
Template https://github.com/scaleway/terraform-provider-scaleway/blob/5c65640fbe1c9777d98282f9456bed794668c7e3/templates/actions/instance_server_action.md.tmpl
Schema https://github.com/scaleway/terraform-provider-scaleway/blob/5c65640fbe1c9777d98282f9456bed794668c7e3/internal/services/instance/action_server_action.go#L69-L91
```
### Expected Behavior
I expected to have a schema without so many new lines at the end
### Actual Behavior
I got a file with many new lines at the end
### Steps to Reproduce
1. `tfplugindocs generate`
2. Using `markdown-lint` with a configuration file that checks for MD012 https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md
### How much impact is this issue causing?
Low
### Logs
_No response_
### Additional Information
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.