feat: 飞书知识库读写工具集:早报/总结/踩坑写入 + Markdown 转 docx(含引用块支持)
This commit is contained in:
@@ -247,6 +247,19 @@ def md_to_blocks(md_text):
|
||||
i += 1
|
||||
continue
|
||||
|
||||
# Quote
|
||||
quote = re.match(r'^>\s?(.+)$', line)
|
||||
if quote:
|
||||
blocks.append({
|
||||
'block_type': 15,
|
||||
'quote': {
|
||||
'elements': parse_inline(quote.group(1)),
|
||||
'style': {}
|
||||
}
|
||||
})
|
||||
i += 1
|
||||
continue
|
||||
|
||||
# Bullet list
|
||||
bullet = re.match(r'^[\-\*]\s+(.+)$', line)
|
||||
if bullet:
|
||||
|
||||
Reference in New Issue
Block a user