Hacker News new | ask | show | jobs
by O_H_E 21 days ago
Interesting, I was recently looking for a plaintext format where agents and scripts can embed more structure into md-like files without ending up either unreadable or fully custom like obsidian.

If there are any design designs that you explicitly made differently than djot I'd like to hear about them.

1 comments

Yes, there are definitely some different design choices I've made. For example, Mog makes containment explicit and doesn't use whitespace to determine document structure. This leads to differences in behavior.

Djot allows a heading to span multiple lines:

  # My Heading
  Continued
In Mog, the same content is possible, but requires structuring the heading as a block:

  #
    My Heading
    Continued
  #
Another difference is that Mog's attributes use KDL, so inline attributes retain types like numbers and booleans. Values can also be tagged with KDL's type annotations:

  -due=(date)"2026-11-10": Example Task
Interesting