How to store lightweight formatting (Textile, Markdown) in database?

前端 未结 4 433
故里飘歌
故里飘歌 2021-02-01 21:28

I\'m going to be implementing a lightweight formatting language (probably Textile, maybe Markdown) in a project I\'m working on, and I\'m wonder how best to store it in the data

4条回答
  •  感情败类
    2021-02-01 21:48

    I'm currently using Markdown with PHP. I store the markdown-source in the database, and I display the Converted Version upon request. I have no performance issues, and am very happy with this setup.

提交回复
热议问题