larksuite / larksuite/cli

不支持多段列表 Markdown 导入/导出

Open
#977 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

domain/doc
Dominant language
Go
Stars
17.3k
Forks
1.4k
Avg merge
2d 4h
Merged PRs (30d)
105

Description

飞书文档碰到这样的列表项时,会把多个段落压缩成一段:

- Hello World 1

  Hello World 2

展示的时候变成了这样(两段合并为一段,中间连空格也没有):

  • Hello World 1Hello World 2

如果手动在飞书文档里写一个多段式的列表项,然后再用 lark-cli docs +fetch 导出的话,会发现缩进有问题,变成了:

- Hello World 1

Hello World 2

这个会影响我们写作的时候必须不得使用多段式的列表。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Markdown list example through the lark-cli docs +fetch flow, checking both the displayed multi-paragraph item and the exported indentation. Trace the docs import/export entry points and existing tests, then verify that separate paragraphs remain separate and correctly indented in the resulting Markdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.