Hacker News new | ask | show | jobs
by Fire-Dragon-DoL 720 days ago
What logseq is going to do is just dump documents to markdown (right now they use markdown),I think something along these lines is the way to go, store in sqlite and have a constant background process creating markdown files for everything
1 comments

good idea. all documents are currently stored in the eidos__docs table. The `content` field is used to store the state of lexical documents in JSON format. Additionally, there is also a `markdown` field. This can be viewed by any sqlite software. Every time a document is updated, both fields are updated simultaneously, making it easy to convert to a file.
That's perfect. For what is worth, I like that's stored in sqlite because I can access it easily in a programmatic format if I need to