gojomo/django-wakawaka — comment on commit 835225e36ef08e1c3ce1d1fccf6566e30c83363d
File:  line 0
By gojomo:

My page.html template renders with markdown rather than raw; wanted a preview functionality. With this change, the edit.html template can include an extra submit button with name 'preview'. If pressed, the revision won't be saved -- only passed back to edit.html, with show_preview variable set, which can be used to trigger a preview display.