John,
Thanks for your answer. I understand that this is how it's working. I
was just surprised that it was executed instead of just showing the code
since it wasn't mentioned in the "documentation".
I will skip the color coding and use the normal preformatting block
instead.
The color coding example was pretty cool! I hope the licensing issue is
resolved.
Regards
Anders
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Davidson
Sent: den 26 februari 2008 13:08
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] A question about extended preformatted
syntax.
Hi Anders,
I'm sorry but it is all or nothing at this point, and will remain that
way until the new parser has been implemented. FlexWiki either leaves
the lines exactly as entered - useful for WikiTalk examples - or
interprets the contents in terms of WikiSyntax, including WikiTalk -
making it not useful for WikiTalk examples, but still very good for C#,
javascript, etc
I am trying to get an automated colorization system in place, but need
some licensing issues resolved. An example can be viewed at
CodeColorSample [1]. It uses code from
http://notebar.com/CodeColor.html. This is currently done through the
FleXhtml plugin, but the intent is to put this colorization feature
directly into the core. It may be done in the next week or so.
[1]
http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/CodeColorSample.html
John Davidson
On Tue, Feb 26, 2008 at 3:55 AM, Anders Jarl - anja
<[EMAIL PROTECTED]> wrote:
Hi!
In extended preformatted syntax you can include colorcode etc. But what
I assumed wouldn't work was to execute Wikitalk code.
To my surprise Wikitalk code get executed inside the {+ }+ block.
Example:
{+
@@ProductVersion@@
}+
This will result in a preformatted block that has the text "2.0.0.200"
or whatever version you're running.
I expected to have a preformatted block that didn't execute the
ProductVersion WikiTalk code.
I want to be able to use this to explain certain WikiTalk blocks and to
colorcode them without them trying to run inside the preformatted block.
If I instead write the block with simple syntax then it works as I
expect. But then I can't use the colorcoding...
{@
@@ProductVersion@@
}@
When I read about the extended syntax it doesn't mention WikiTalk to be
executed.
Any comments?
Regards
Anders
This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users
This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users