@developer654079525 It completely depends on the use case, and who is authoring this content.
Why is there things like JavaScript in content in the first place? I strive to separate content from functionality as much as possible in dynamic websites.
Our cms stores raw HTML in a table. The HTML was written by us and is displayed unescaped as part of a page in multiple routes. The content itself usually contains simple tags, escaped pre code and code content and some Bootstrap styled divs and tags. Some of the divs even utilize the Bootstrap's JavaScript functionality.
A markdown approach seems to be an easier option for editing, although less customizable. What should we do now? Continue with the raw HTML or make an effort to somehow convert that to markdown and continue with a markdown.
The content is around 80-100 records long so far, and the records that contain Bootstrap's JS functionality are around 20 in total.
We are using 3rd party libs on a dedicated machine to export the content to PDF too and that works well.
The speed of writing and editing the articles stored as such is a bit of a pain point for us. There is a decision to be made whether to somehow convert/rewrite the existing HTML to markdown or continue with the HTML. What tools/approach would you suggest?
Please or to participate in this conversation.