1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rex0220 マークダウンプラグイン カンバン表示

Posted at

マークダウンプラグイン計算式プラグインの連携で、カンバンを表示してみます。

概要

マークダウンプラグインは、Mermaid ライブラリの書式でカンバンを表示できます。
計算式プラグインで、テーブルデータからカンバンを表示してみます。

2025-10-11_21h17_56.png

テーブル行移動プラグインとテーブル行複写プラグインで、編集しやすくします。

2025-10-11_21h20_41.png

テーブルから作成したカンバンの内容

2025-10-11_21h24_27.png

操作例

テーブルの変更で、カンバンの表示に反映されます。

2025-10-11_21h31_38.gif

アプリ設定

2025-10-11_21h27_39.png

マークダウンプラグイン設定

2025-10-11_21h25_56.png

計算式プラグイン設定

  • 期限が過ぎたタスクは、期限を赤表示
  • Mermaid の priority に合わせて変換
    • "緊急":"Very High","高":"High","中":"Low","低":"Very Low"

2025-10-11_21h23_17.png

OPTION: 非同期計算

// テーブル.No NUMBER
ROWNO(テーブル)+1

// 文字列複数行1 MULTI_LINE_TEXT
LET(
  priority, DIC("緊急","Very High","","High","","Low","","Very Low"),
  cols, ARRAY("未着手","進行中","レビュー中","完了","保留","キャンセル"), 
  bord, REPLACEALL(REPLACEALL(JOIN(ARRAY_MAP(cols, xx, "\n  "&xx&
      JOIN(TARRAYIF(NVL(カラム,"未着手")=xx,
        "\n\t"&タスク名&IF(期限,": "&
        IF(OR(TODAY()<DATE_FORMAT(期限),IN(xx,"完了","保留","キャンセル")),
          DATE_FORMAT(期限),
          "<span style='color:red'>"&DATE_FORMAT(期限)&"</span>"
        ))&
        IF(担当||優先度,"@{ assigned: '"&担当&"', priority: '"&DIC_ITEM(priority,優先度)&"' }")
      ),"")
  ),""),"\n",NEWLINE()),"\t","    "),
  JOIN(ARRAY(
    "### 🗃 カンバン(Kanban)",
    "",
    "```mermaid",
    "kanban"&
    bord,
    "```"
  ),NEWLINE())
)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?