-
Notifications
You must be signed in to change notification settings - Fork 158
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
Update-MarkdownHelp adding back in a space that VSCode removes #225
Comments
Sure would be nice if platyPS didn't add the space after |
Agree, it would be nice to have. |
Might look at taking this one on, still in the latest build, and it is annoying me :) |
Ah that's a good one! @BernieWhite let me know if you have any questions |
Thanks. So do you think any sort of feature switches are going be required, or will trailing spaces always be removed? |
@vors This one turned out to be broader then expected. Existing help used in unit tests use trailing whitespace in multiple places. It wasn't something that could easily be solved, so the fix was scoped to only address yaml blocks used for header and parameters, which will address @rkeithhill original request. |
Always removed |
Fixed in #225 |
Steps to reproduce
Set up VSCode to trim trailing whitespace.
Create a markdown for a function.
Save it from VSCode with trim trailing whitespace enabled.
Run Update-MarkdownHelp on the markdown file.
Expected behavior
The command should not modify the file because we haven't changed it.
Actual behavior
The command is adding back in a space after
Aliases:
:Environment data
v0.7.2
The text was updated successfully, but these errors were encountered: