Skip to content

New-MarkdownHelp - add info-string to fenced code blocks #415

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

Closed
johkoenig opened this issue Nov 14, 2018 · 2 comments
Closed

New-MarkdownHelp - add info-string to fenced code blocks #415

johkoenig opened this issue Nov 14, 2018 · 2 comments

Comments

@johkoenig
Copy link

Steps to reproduce

This is loosely connected to #318. It would be nice to have "powershell" added to the fenced code boxes. This applies to syntax and examples.

Expected behavior

## SYNTAX
```powershell
New-DemoFunction [<CommonParameters>]
```

## EXAMPLES

### EXAMPLE 1
```powershell
C:\> New-DemoFunction
```

Actual behavior

## SYNTAX
```
New-DemoFunction [<CommonParameters>]
```

## EXAMPLES

### EXAMPLE 1
```
C:\> New-DemoFunction
```

Environment data

v0.12.0

@vors
Copy link
Collaborator

vors commented Nov 16, 2018

In #294 we settled on adding the language moniker to examples.
For a long explanation about why I don't think it's a good idea for SYNTAX, see #294 (comment)

@vors vors closed this as completed Nov 16, 2018
@vors
Copy link
Collaborator

vors commented Nov 16, 2018

Closing in favor of #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