[feature]: Add PowerShell syntax highlighting to editor code blocks

Aperta
#10,399 2 commenti 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@vihar ci sta già lavorando.

Dal 24/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

✨feature plane
Is there an existing issue for this?
  • I have searched the existing issues
Summary
Is there an existing issue for this?
  • I have searched the existing issues and discussions

I found #9799 and the related #9800 work for adding or improving the code-block language selector, but I did not find an issue specifically tracking PowerShell syntax highlighting support.

Summary

Add PowerShell as a supported syntax-highlighting language in Plane editor code blocks.

Current behavior
  1. Create or edit a Plane Page.
  2. Insert a code block.
  3. Open the code-block language selector.
  4. Search for PowerShell or power.
  5. The selector displays No languages found.
  6. The block remains Plain Text, with no PowerShell syntax highlighting.

Typing or importing a fenced block using a PowerShell identifier also does not provide PowerShell highlighting:

~~~markdown
```powershell
Get-Process | Where-Object CPU -gt 100

The same problem applies when using common aliases such as: 

~~~markdown ```ps1 Get-Process ```

```pwsh
Get-Process
Why should this be worked on?

Plane currently exposes a searchable language selector for code blocks, but searching for PowerShell or power returns no matching language. PowerShell content therefore has to remain classified as Plain Text, including scripts stored in Plane Pages as operational documentation.

The language should be available as:

  • Display name: PowerShell
  • Canonical identifier: powershell
  • Common aliases: ps1, pwsh, and posh

Where filename or extension metadata is applicable, the implementation should recognize common PowerShell file types:

  • .ps1 - PowerShell script
  • .psm1 - PowerShell module
  • .psd1 - PowerShell data file or module manifest
Lingua principale
TypeScript
Stelle
63k
Fork
6.5k
Merge medio
2g 16h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di makeplane/plane

Tutte le issue di makeplane/plane

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.