본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #5160

markdown-rendering

하는 일

이 도구는 Markdown이라는 형식의 텍스트 파일을 cmux 프로그램의 특정 영역에 표시하도록 돕습니다. 프로그램에 평소 문제가 있더라도 텍스트가 제대로 나타나도록 합니다.

사용하는 경우

  • ✓cmux에서 Markdown 파일이 비어 보이거나 형식이 잘못 표시될 때.
  • ✓cmux의 고정된 영역에 Markdown 파일을 보여 주고 싶을 때.
  • ✓Markdown 파일을 열려고 할 때 오류가 나거나 잘못 표시될 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“「document.md」 파일을 cmux의 오른쪽 창에서 열어 주세요. 형식이 올바른지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 뷰어 영역을 옮길 때 화면이 비어 버리는 흔한 오류를 피합니다. 파일을 올바른 영역에서 바로 열거나, 충돌하는 영역을 닫은 뒤 파일을 다시 엽니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Markdown Rendering in cmux

When to Use

  • Use when opening Markdown in cmux shows a blank pane or wrong layout.
  • Use when you need to display a Markdown file in a stable cmux right pane.

The Problem

cmux markdown open defaults to spawning a brand-new pane every time, even with --direction right. The common "fix" — moving the new markdown surface into the existing right pane with move-surface — bugs out: the moved viewer renders BLANK. The surface keeps type=markdown and looks healthy, but shows nothing.

So you get stuck: either a stray extra pane, or a blank viewer after moving it.

The Rule

The contributor observed two workarounds for a particular cmux version. Verify the installed command/version; the blank-render issue may have changed. Prefer reopening an owned viewer without altering unrelated panes.

Option A — Open it right on the first try

If there is no usable right pane yet, just let cmux create one and leave it where it lands:

cmux markdown open /abs/path/file.md --direction right --focus false

Do NOT then move it. If it spawned where you want it, you're done.

Option B — Close existing right pane(s), then open fresh

If there are other right panes in the way (and they're unused or irrelevant), close them first, then open the markdown fresh as a new right pane:

# 1. find panes in THIS workspace
cmux list-panes --workspace "$CMUX_WORKSPACE_ID"

# 2. close the unused/irrelevant right pane(s) by closing their surfaces
cmux list-pane-surfaces --pane pane:NN
cmux close-surface --surface surface:XX     # repeat per surface in that pane

# 3. THEN open the markdown fresh — it creates its own clean right pane
cmux markdown open /abs/path/file.md --direction right --focus false

Hard Rules

  • Never move-surface a markdown viewer. It renders blank afterward. This is the core bug this skill exists for.
  • Open it correctly the first time (Option A), OR close the conflicting right pane(s) and open a fresh right pane from scratch (Option B).
  • Close only surfaces created for this task or explicitly authorized for closure; apparent irrelevance does not prove they contain no unsaved work.
  • Always anchor to $CMUX_WORKSPACE_ID; never assume the visually focused workspace.
  • Pass --focus false so you don't steal the user's focus.
  • Use any supported readback/rendered inspection available on the actual host. If it cannot inspect the viewer, report that limit instead of claiming success.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
자주 묻는 질문

내 Markdown 파일이 cmux에서 비어 보이는 이유는 무엇인가요?

보통 프로그램이 파일을 위해 새 창을 만들려 하고, 그 창을 옮기면 뷰어가 실패해 화면이 비어 버리기 때문입니다. 이 도구는 그 문제를 피하도록 설계되었습니다.

「cmux」란 무엇인가요?

여러 창이나 작업 공간을 패널처럼 나누어 정리하고 관리할 수 있게 해 주는 프로그램입니다.

「Markdown」이란 무엇인가요?

텍스트를 간단하게 쓰는 방법으로, 별표 같은 기호를 사용해 웹 페이지나 서식 있는 문서로 쉽게 바꿀 수 있습니다. 예를 들어 별표로 굵은 글씨를 만듭니다.

상세 정보

작성자의 원본 설명

Open Markdown reliably in cmux panes and recover from blank rendered surfaces.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5160
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬