feishu-md2blocks
Installation
SKILL.md
Feishu Markdown to Blocks
Insert Markdown content—including tables—into Feishu documents via the block convert + descendant API.
When to Use
feishu_docwritereplaces the entire document; use this to insert content at a positionfeishu_doccreate_table_with_valueshas limitations for larger tables- You need to insert tables, code blocks, or complex nested content into an existing doc
Usage
# Insert from file (appends to document end)
python3 <skill_dir>/scripts/md2blocks.py <doc_token> content.md
# Insert from stdin
echo "| A | B |\n|---|---|\n| 1 | 2 |" | python3 <skill_dir>/scripts/md2blocks.py <doc_token> -