mProjectsCode / mProjectsCode/obsidian-shiki-plugin
[Feature] Add "alias" for "pwsh", short for "powershell"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
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:
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating language-alias handling and the Shiki integration, then try the issue’s pwsh fenced-block example. Done means that pwsh receives the same highlighting as powershell, with the project’s tests or validation passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100