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

Update-MarkdownHelp removes info-string from code fence #318

Closed
BernieWhite opened this issue Nov 17, 2017 · 3 comments
Closed

Update-MarkdownHelp removes info-string from code fence #318

BernieWhite opened this issue Nov 17, 2017 · 3 comments

Comments

@BernieWhite
Copy link
Contributor

Steps to reproduce

  • Add ```powershell fences to existing cmdlet markdown help file
  • Run Update-MarkdownHelp

Expected behavior

  • When syntax language for code fence has been set, persist change during Update-MarkdownHelp passes.

Actual behavior

  • Syntax language in code fence is removed when Update-MarkdownHelp is called.

image

Environment data

v0.8.3

@BernieWhite
Copy link
Contributor Author

Related to #294

@vors
Copy link
Collaborator

vors commented Nov 20, 2017

I think once #294 is fixed, there would not be much need in this, right?

@BernieWhite
Copy link
Contributor Author

To a degree. Other code blocks such as ```text for output also have the same behaviour.

BernieWhite added a commit to BernieWhite/platyPS that referenced this issue Dec 13, 2017
BernieWhite added a commit to BernieWhite/platyPS that referenced this issue Dec 13, 2017
@BernieWhite BernieWhite changed the title Update-MarkdownHelp removes named syntax language in code fence Update-MarkdownHelp removes info-string from code fence Dec 14, 2017
@vors vors closed this as completed in #327 Dec 19, 2017
vors pushed a commit that referenced this issue Dec 19, 2017
* Update to preserve code fence info-string #318

* Add powershell info-string to code blocks #294
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants