Environment
- OS: macOS 26.3.1 arm64
- lark-cli version: v1.0.2
- Shell: zsh
Description
When sending messages with --markdown, two formatting issues occur:
- Markdown tables are completely lost —
| col | col | syntax produces no output at all, the table content disappears silently
- Blank lines are collapsed — double newlines
\n\n between paragraphs are compressed to single newlines, removing paragraph spacing
Steps to Reproduce
lark-cli im +messages-send --as bot --chat-id "oc_xxx" --markdown '**Test**
| Item | Status |
|------|--------|
| Table | Testing |
Paragraph 1
Paragraph 2 (should have blank line above)'
Expected output in Feishu
**Test**
| Item | Status |
|--------|---------|
| Table | Testing |
Paragraph 1
Paragraph 2 (should have blank line above)
Actual output in Feishu
Test
Paragraph 1
Paragraph 2 (should have blank line above)
- Table is completely missing
- Bold renders correctly
- All blank lines between paragraphs are gone
Impact
This makes --markdown unreliable for any structured data output. Users must fall back to --text (which preserves blank lines but has no formatting) or manually format with lists instead of tables.
Current workaround
- Use bullet lists instead of tables:
- Item: Status
- Use
--text when paragraph spacing matters
- Use
--markdown with --- (horizontal rule) as a visual separator instead of relying on blank lines
Environment
Description
When sending messages with
--markdown, two formatting issues occur:| col | col |syntax produces no output at all, the table content disappears silently\n\nbetween paragraphs are compressed to single newlines, removing paragraph spacingSteps to Reproduce
Expected output in Feishu
Actual output in Feishu
Impact
This makes
--markdownunreliable for any structured data output. Users must fall back to--text(which preserves blank lines but has no formatting) or manually format with lists instead of tables.Current workaround
- Item: Status--textwhen paragraph spacing matters--markdownwith---(horizontal rule) as a visual separator instead of relying on blank lines