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

能否提供HTML与markdown内容互转 #147

Open
Lisichenghah opened this issue Apr 11, 2022 · 2 comments
Open

能否提供HTML与markdown内容互转 #147

Lisichenghah opened this issue Apr 11, 2022 · 2 comments

Comments

@Lisichenghah
Copy link

1、编辑完内容后,将内容的html保存
2、再次编辑时,编辑框是保存的html内容,不方便再次编辑

@wll8
Copy link
Collaborator

wll8 commented Apr 11, 2022

  • 第一,这个工具都是从 md 到 html 的,也就是除非你去修改输出后的 html,否则无需考虑 html 到 md 的问题。
  • 第二,就算能实现 html 到 md,也还原不到原始的 md。

@light0x00
Copy link

从编译的角度看, html 结构复杂 , md 结构简单 , 从 html 转回 md 是有损的, 会不可避免的丢失信息.

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

No branches or pull requests

3 participants