Markdown lint MD40 specifies that a code fence should have a language specified. In the syntax code fence since it doesn't follow PowerShell syntax exactly the code fence should be text to not have syntax highlighting.
To resolve this issue I believe the only change is this line.
Prerequisites
Steps to reproduce
Markdown lint MD40 specifies that a code fence should have a language specified. In the syntax code fence since it doesn't follow PowerShell syntax exactly the code fence should be
text
to not have syntax highlighting.To resolve this issue I believe the only change is this line.
https://github.com/PowerShell/platyPS/blob/0738721dc7d98380d5c500529937709b47572275/src/Markdown.MAML/Renderer/Markdownv2Renderer.cs#L453
It needs to have the language specified.
Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response