Tree based organization at last.
Amazing WYSIWYG, including maths and tables, plus insane plugins like canvas mode, and specific file formats like code/mermaid diagrams/drawing mode.
Version history.
No multiuser features. Except for that, could have been a good starting point of an online multiuser thing such as OurBigBook.com!
Only possible to see one page at a time on output? Output chunking is a major feature of OurBigBook, I'm so proud.
Their tree based approach does have a problem however for the OurBigBook.com use case of sharing topics across users: every level forces is a scope. Which makes it basically impossible to reliably match topics across users.
HTML export keeps all data as HTMl is their native format. The files are mostly visible, but there is some CSS missing, it is not 100% like editor, notaby math is broken. There is also a hosted way of exposing: github.com/zadam/trilium/wiki/Sharing.
Markdown export warns:
this preserves most of the formatting.
Architecture: runs on local SQLite database via better-sqlite3. Data apparently stored in SQLite database at ~/.local/share/trilium-data, no raw files.
Markup is stored as HTML as seen from: sqlite3 document.db 'SELECT * from note_contents'. HTML is their native storage format, quite interesting.
WYSIWYG based on ckeditor.com/ which is a dependency. It is kind of cool that the view in which you view the output is exactly the same as the one you edit in, and there is no intermediate format, just the HTML.
Math is KaTeX based.