We may evaluate this is a potential future add-on under the new ISE Preview model. Read more about the ISE Preview here: https://blogs.msdn.microsoft.com/powershell/2016/01/20/introducing-the-windows-powershell-ise-preview/
This is a very difficult thing to implement, it could potentially break many of the add-ons, and could introduce some very confusing UI elements.
That said, we’re interested to get more ideas from you for how something like this might work. Feel free to post your comments below.
Specific ask for the voters: If you are willing, please add a note what your expectations are, and how you would see this providing extra value in the Gallery when we display this content.
This type of feature is something we are generally a little bit cautious about.
Rendering active MD content can include links & other items that result in some amount of risk for users of a site.
91 votesAnonymous commented
It's surely an overisght since I used this simple one line shorthand alternative to an if clause all the time in CMD scripts.