github / github/copilot-cli

Org-mode syntax as an alternative to Markdown

未關閉
#1,970 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:theming-accessibility
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

I would love support for org-mode syntax in Copilot CLI

### Proposed solution

The CLI currently renders assistant responses assuming Markdown. Users who prefer Org-mode syntax (e.g.
Emacs users) can instruct Copilot to respond in Org-mode via a =copilot-instructions.md= file, but the terminal
UI does not render it — code blocks in particular collapse onto a single line, making them unreadable.

Also note that Org-mode syntax has more features than Markdown, allowing for richer output and more use cases,
like notebook-style literate programming.

### Example prompts or workflows

Example: When Copilot outputs this Org-mode code block:

: #+begin_src bash : build testpp_sr : #+end_src

...it renders in the terminal as a single line: =#+begin_src bash build testpp_sr #+end_src=

Requested behaviour: Either (a) render Org-mode syntax natively when detected or configured, respecting block
structure and indentation; or (b) at minimum, preserve newlines faithfully in raw output mode so that
non-Markdown formats remain legible.

### Additional context

Why it matters: Org-mode is widely used in the Emacs ecosystem and is a fully-featured alternative to Markdown
for literate documentation and structured text. Users working in Org-mode-centric workflows would benefit from
first-class support or at least non-destructive rendering.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。