Convert lightweight markup to an HTML form.