Save the native markdown format and then render it when used. It would be too much to save html content
If it is an html editor, the same method is used, and it will be rendered when used.
This depends on your specific needs. Saving it as markdown can save space and facilitate secondary editing; saving it as html can improve display efficiency. At the same time, if it is displayed in multiple terminals, it will save a lot of unnecessary trouble.
Save the native markdown format and then render it when used. It would be too much to save html content
If it is an html editor, the same method is used, and it will be rendered when used.
Save in native markdown format, use md interpreter when rendering
This depends on your specific needs. Saving it as markdown can save space and facilitate secondary editing; saving it as html can improve display efficiency. At the same time, if it is displayed in multiple terminals, it will save a lot of unnecessary trouble.