I'm working on a blog-like application with Flask and SQLAlchemy and I'm unsure how to store the blog posts (articles) in the database. These are going to contain text and images (placed between paragraphaphs). I expect the text to have formatting, with bold, italic, different font sizes, etc.
Would markup be a good option? If so, would each blog post have an html file of its own? That doesn't seem very efficient, but maybe there's an elegant way of doing so.
If not markup , then what can I use?
In this answer to a similar question, they mention a react markdown package. If markdown is the 'best' way to solve this, is there something similar to this package in Flask or SQLAlchemy?
Note that by 'best', I mean the most appropriate and simplest, the easiest to integrate to a Flask SQLAlchemy project.
If any code is necessary, please tell me.