md icon indicating copy to clipboard operation
md copied to clipboard

能否提供HTML与markdown内容互转

Open Lisichenghah opened this issue 3 years ago • 2 comments

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

Lisichenghah avatar Apr 11 '22 08:04 Lisichenghah

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

wll8 avatar Apr 11 '22 08:04 wll8

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

light0x00 avatar Mar 12 '23 14:03 light0x00