8 points · by henryluo · 1y ago · 11 comments
Mark is a unified notation for both object and markup data, combining the best of JSON, HTML, and XML with a clean syntax and succinct data model.
I'm glad to announce the 1.0 Release of Mark. This release is just the start of a long journey to make web a better platform to store and exchange data.
Your feedback welcome!
kudos! It's impressive to see so many rich scalar types supported under Mark, including: symbol, decimal number, datetime, binary, and even Element as a new container type. Excited to try this notation out!
Thank you.
Option 2 looks cleaner for configuration kind of usage. However, Mark is designed to be embedded in a scripting language, and used beyond just configuration files. Unless the scripting language uses indentation as delimiter, like Python, option 2 will not work.
Personally, I prefer C/Java/JS family of languages that has insignificant whitespace. So Mark is designed to use explicit delimiters '<' and '>' to enclose an element.
Hope that explains one of the most important syntax designs of Mark.