Langsung ke konten
Skillpedia
Website & UI (frontend)48k ยท #5160

markdown-rendering

Fungsinya

Tool ini membantu menampilkan file teks berformat (disebut Markdown) di area tertentu dalam program bernama cmux. Tool ini memastikan teks tampil dengan benar, meskipun program biasanya bermasalah.

Kapan dipakai

  • โœ“Saat file Markdown tampak kosong atau formatnya salah di cmux.
  • โœ“Saat Anda perlu menampilkan file Markdown di area tetap dalam cmux.
  • โœ“Saat membuka file Markdown menghasilkan error atau tampilan yang salah.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œBuka file 'document.md' di panel kanan cmux, pastikan formatnya benar.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini menghindari error umum di mana memindahkan area tampilan Markdown membuat isinya menjadi kosong. Caranya, tool membuka file langsung di area yang tepat, atau menutup area yang bentrok lalu membuka kembali file tersebut.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Kenapa file Markdown saya tampak kosong di cmux?

Ini sering terjadi karena program mencoba membuat panel baru untuk file tersebut, dan saat panel dipindahkan, penampil gagal dan menjadi kosong. Tool ini dirancang untuk mengatasi masalah tersebut.

Apa itu 'cmux'?

cmux adalah program yang memungkinkan Anda mengatur dan mengelola beberapa jendela atau ruang kerja di komputer, seperti panel-panel.

Apa itu 'Markdown'?

Markdown adalah cara sederhana menulis teks yang mudah diubah menjadi halaman web atau dokumen berformat lain, dengan simbol sederhana seperti tanda bintang untuk huruf tebal.

Detail

Deskripsi asli dari pembuat

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

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#5160
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa