I have tested succesfully {cms_markdown}{content block='column3'}{/cms_markdown} in version 1.0.2
But it does not work anymore in versions 1.0.6 and 1.0.7.
markdown does not work
-
cyberman
Re: markdown does not work
Have you tried this too?
Code: Select all
{content block='column3'|markdown}-
bruco
Re: markdown does not work
Yes. It does not work, too.cyberman wrote: Have you tried this too?
Code: Select all
{content block='column3'|markdown}
-
bruco
Re: markdown does not work
After some experiments, I have realized that if I write the page content in source mode (which I have to enter explicitely) and I confirm with the submit button, then it is translated in html correclty. But the next time I go to edit the page, the content is no longer correctly recognized.cyberman wrote: Have you tried this too?
Code: Select all
{content block='column3'|markdown}
For example, if I write
Code: Select all
# TitleCode: Select all
# Title
Code: Select all
<p># Title</p>
Is there any solution to this problem?
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: markdown does not work
You don't want to use the wysiwyg editor when using markdown.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
bruco
Re: markdown does not work
Yes, if I set "Select WYSIWYG editor to use" to "None" in My Preferences > User Preferences, all works fine, but so doing I have to write all the pages in source code mode, irrespective of the template they use.calguy1000 wrote: You don't want to use the wysiwyg editor when using markdown.
In other words: I cannot use markdown in some pages, and work in WYSIWYG mode in other ones.
Am I right?
Edit:
Now, after having tested several editors (FCKEditor, TinyMCE, XStandard, and others), I have realized the source of the problem. When I create the page in pure text mode, the page is displayed well. But when next time I edit the page, the editor (whatever it is) is always invoked in wysiwyg mode, and the previous (pure text) content is wrongly rendered.
If this is the standard behaviour of the program, I wish to ask a feature according to which the editor is invoked in pure text (non wysiwig) mode when editing a page whose template contains
Code: Select all
{content|markdown}.
Last edited by bruco on Wed Jun 20, 2007 3:52 pm, edited 1 time in total.
