Page 1 of 1

Preview with markdown support

Posted: Mon Mar 12, 2007 3:10 pm
by Maticomp
Hi there,

After looking for a bugzilla for a few minutes I've decided to post here. I'm using cmsms with majority of my projects since it's easy to use and rapid in terms of development. I'm also using markdown instead of WYSIWYG editor to deliver XHTML compliant content with easy editing abilities for my customers. However, when using markdown (using {content|markdown} in templates) the preview tab within "Edit content" does not work properly. It just doesn't show any content there. After changing to {content} without modifier it works fine. I looked in the source and made a simple workaround - forced parsing content with Markdown and using specific alternative template only for preview in editcontent.php - that is, however, not a clean solution IMHO. I'd like to grab your attention with the problem :) Since markdown is officially supported in the core, it's kind of unclear to me, why the preview doesn't work.


Thanks and best wishes,
M.

Re: Preview with markdown support

Posted: Mon Mar 12, 2007 3:59 pm
by cyberman
Maticomp wrote: However, when using markdown (using {content|markdown} in templates) the preview tab within "Edit content" does not work properly.
Have you tried markdown module too?