Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码块转换有些问题 #21

Closed
sko00o opened this issue Aug 28, 2022 · 2 comments
Closed

代码块转换有些问题 #21

sko00o opened this issue Aug 28, 2022 · 2 comments

Comments

@sko00o
Copy link
Contributor

sko00o commented Aug 28, 2022

旧版 API

原始文档截图:

image

拉取文档:

feishu2md https://unlz98sgz3.feishu.cn/docs/doccnd99W0Ky4j4JhPhE9RsZlug

转换后的 Markdown:

# feishu2md code block test (docs)

Paragraph at the beginning.

Paragraph before code block.

```Go
package main



func main() {

    print("hello world")

}

```

Paragraph after code block.

Paragraph at the end.

存在的问题:

  • 代码块中多出了一些空行
  • 代码块的语言声明建议全小写字母

新版 API

原始文档截图:

image

拉取文档:

feishu2md https://unlz98sgz3.feishu.cn/docx/doxcnyTd6n5fRN2mOdAGbU1wcxd

转换后的 Markdown:

# feishu2md code block test (docx)

Paragraph at the beginning.

Paragraph before code block.

```
package main

func main() {
    print("hello world")
}

```

Paragraph after code block.

Paragraph at the end.

存在的问题:

  • 代码块结尾多了一空行
  • 代码块缺少了语言声明
@SJK-2019
Copy link

您好,我是一个电脑小白。目前面临飞书文档转markdown的需求,反复看了《一日一技 | 我开发的这款小工具,轻松助你将飞书文档转为 Markdown》及帮助文档,还是不会使用,能不能出一个视频操作教程?
我的电脑是win10,下载了V1.3.0版的exe执行文件,双击打开会闪一下就没了,后续不知道怎么操作?像“执行 feishu2md --config 命令会生成该工具的配置文件”等等
您开发的这个小工具对我很重要,谢谢!

@sko00o
Copy link
Contributor Author

sko00o commented Nov 23, 2022

@SJK-2019 这是个命令行工具。

或许你可以另外建一个 issue 和维护者沟通。

@sko00o sko00o closed this as completed Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants