Skip to content

[Feature] Add "alias" for "pwsh", short for "powershell" #68

Description

@o-l-a-v

Is your feature request related to a problem? Please describe.

Some other code in markdown highlighters, like GitHub itself, support defining pwsh as well as powershell for PowerShell.

Current behavior:

Image

Would be nice if this Obsidian extension could add support for this too.

I don't know if it can be added to this extension, or if it should be raised upstream with either Shiki or Obsidian.

Describe the solution you'd like

This:

```pwsh
Write-Output -InputObject 'Hello'
```

Should be highlighted as PowerShell too.

Additional context
Add any other context or screenshots about the feature request here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions