Show HN: Mark 1.0, a notation that unifies JSON, HTML, JSX, XML, YAML, and more
11–13 of 13 posts
Re: Show HN: Mark 1.0, a notation that unifies JSON, HTML, JSX, XML, YAML, and more
#12The idea is cool, but in my opinion, the downside of many types of notation is the markup symbols, which are essentially useless, like they complicate the syntax with symbols, although everything worked without them anyway, I wanted them to solve this.
Glad to see your comment. Not sure I get you right. I also do not like many data notations and formats floating around. I hope there's one notation that can unify all the data that I'm concerned with. That's why I created Mark.
Re: Show HN: Mark 1.0, a notation that unifies JSON, HTML, JSX, XML, YAML, and more
#13Earlier quoted context omitted.
Glad to see your comment. Not sure I get you right. I also do not like many data notations and formats floating around. I hope there's one notation that can unify all the data that I'm concerned with. That's why I created Mark.
Sorry for writing in a strange way, in short, your Mark is wonderful, but I don't like the symbols in the markup like "<" before each command, because without them, in fact, you can also make a working markup, maybe they use it for beauty?
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 '' to enclose an element.
Hope that explains one of the most important syntax designs of Mark.