Show HN: Markdown-UI – Write UI/UX with Markdown Syntax
jjuliano.github.io
jjuliano.github.io
Markdown makes writing markup faster and reading markup easier. It's a limited set of syntax elements optimised for writing and reading text. No more, no less. It is not, however, a new set of language elements to be used for whatever purpose.
For example, how is this:
__Basic Button|Icon:User,Text:Add Friend__
Any better than this? <button icon="user" text="Add Friend">
Even YAML seems to be much better suited for structured data like this. button
icon: text
text: Add Friend
If your aim really is to "lessen the cognitive load", why not work with tools that better work towards that goal?I think this is a niche for people who just want to use a whiteboard and draw their UI in front of people, and the non-technical audience will get it instantly. The goal is make is very easy for non-technical to create UIs, even just writing it in board or paper.
Focusable should be the default, as many folks can't (or don't want to) use a mouse. Use the semantic <button> tag or even just an <a> with role="button" and you'll get accessibility for free.
[0]: http://thatjdanisso.cool/a11y/clicking-with-a-keyboard/
Don't be disappointed though if the result is not better than the solutions using XML, JSON or YAML that already exist.
Maybe something like funciton would add a new perspective to it: http://esolangs.org/wiki/Funciton
> Focusable Button
why not just have all of them be focus-able? I mean, unless you have a strong dislike of people who don't use mice, this shouldn't be an option
If you're wondering why something like this would be useful, it's great for prototyping interactive web pages of UIs. A non-technical person can easily write out their ideas and a more technical person can covert the markdown into real form markup.
* Marx, the CSS framework without classes: https://github.com/mblode/marx
* Classless, the HTML5 framework and themes for CMS-like templates: http://fiatjaf.alhur.es/classless/
Wishing to see how you solve the problems of layouts and nested layouts (including transitions in between). I really hope you can simplify the current state of the art, because, at least for me personally UI programming is a pain (too many options and abstractions I do not know).