This question about Not sure...: Answered

Replacement of variable in <pre> <verbatim> section

I'm looking a way to see foswiki variable in paragraph like
pre or verbatim
. In the following example, the variable defined with %V% or with the CALC extention are only replaced in normal section. Does it exist a section with the same look as "pre" or "verbatim", which handle the variable replacement of CALC variable?

Thank's

Jean-Michel

The example below wich does not replace all the variables:

  • pre
    VAR1=hello VAR2="world" 

  • verbatim
    VAR1=%VAR1%
    VAR2="%CALC{"$GET(VAR2)"}%"
    

  • Nothing
VAR1=hello VAR2="world"


As the basic point of pre and verbatim is to suppress this very thing, I doubt very much this is the right approach.

I hope Question426 might provide a solution, albeit from a different angle.

-- JulianLevens - 10 May 2010

QuestionForm edit

Subject Not sure...
Extension
Version Foswiki 1.0.0
Status Answered
Topic revision: r2 - 10 May 2010, JulianLevens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy