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

Đang mở
#10,399 2 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@vihar đang làm issue này rồi.

Từ ngày 24/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

✨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
Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.