Earlier this year, I started designing Mog, a markup language originally intended for my note-taking system.
As it's evolved, its strengths have come into focus. First-class document structure and embedded data give Mog capabilities that Markdown requires extensions to match. One project I'm using to test the language is https://deadlog.io, a changelog archive for Deadlock (my favorite video game). Using Mog attributes, I store classifications generated by JEV for each change, such as buffs and nerfs, directly alongside the change text. I've recently made some great progress on the spec and updated the site along with it! Any feedback is greatly appreciated. https://mog.drake.dev/
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.
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:
Comments (1,123) 974 threads
Show all comments
Showing thread 117 of 974
As it's evolved, its strengths have come into focus. First-class document structure and embedded data give Mog capabilities that Markdown requires extensions to match.
One project I'm using to test the language is https://deadlog.io, a changelog archive for Deadlock (my favorite video game). Using Mog attributes, I store classifications generated by JEV for each change, such as buffs and nerfs, directly alongside the change text.
I've recently made some great progress on the spec and updated the site along with it! Any feedback is greatly appreciated.
https://mog.drake.dev/
If there are any design designs that you explicitly made differently than djot I'd like to hear about them.
Djot allows a heading to span multiple lines:
In Mog, the same content is possible, but requires structuring the heading as a block: 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: