tl;dr A few years ago, i created some extensions for markdown - specifically for collecting user input. Scroll to the bottom for an example of creating a form.
markdown has been great for rendering read-only content over the years, i found it useful to be able to create forms using my extensions (i’m calling it marksup), and many folks with no programming experience seem to agree.
on my github repo I have a grammar, via a lex/yac implementation and a makefile to run my demo.
here is a preview of
- creating a input field, a password field, a textarea, a submit button (implemented)
- a radio button, a checkboxes ( not implemented )
Choose an Email ? _____ Choose a password ****** Describe why you want to register ____ _____ Gender male/female Which of these features will you need? [+] simplicity [-] Don't know [-] complete [ok]
This should generate the following HTML when compiled ( make test )
<input type="text" name="Choose an Email ?"/> <BR> Choose a password <input type="password" name="Choose a password"/> <BR> Describe why you want to register <textarea name="Describe why you want to register"><textarea> <BR> <input type="button" value="ok" />
marksup ( up signifying user-input ) in its current form is over at http://github.com/bosky101/marksup
i may not be the best person to take this up or come up with specs, but think this may be the best place to talk about it. i also think this is a simple but worthwhile attempt.