So, I am building a blog that will sometimes include code for demonstrating basic number theory algorithms, and sometimes images of different food dishes. I am using ASP.Net Web Pages. I am stuck on figuring out how to display blog as html, because the order of writing, code and images will vary. For instance, do we store the blog complete with tags and read directly into: <%=GetBlog()%> or store the blog with home made tags and parse them, then create some kind of loop using: <%...%> I really like the format of this site where we can enter writing
and code and images Is there a pattern that is ideal for achieving what I have described?