There is a GitHub project that has a JavaScript editor that has an extended markdown that does what you want. https://github.com/brikis98/wmd . If you are cloning a project, there is an example editor in the html file that you can run from a browser. Both HTML and visualized form elements are displayed.
Can generate the following form elements
Text box:
name = ___
Radio buttons:
sex = (x) male () female
Checkboxes:
phones = [] Android [x] iPhone [x] Blackberry
Dropdown (Select)
city = {BOS, SFO, (NYC)}
Required fields
zip code* = ___[50]
Was it based on a Wiki or Markdown-like syntax for simple forms?
Barton chittenden
source share