SID-01829: Using in pre or verbatim
| Status: |
Answered |
TWiki version: |
|
Perl version: |
|
| Category: |
SpreadSheetPlugin |
Server OS: |
|
Last update: |
12 years ago |
Hello,
How can I use %CALCULATE{$GET(variable)}% between pre or verbatim ?
It is displayed as it looks like instead of the variable value.
Thanks in advance.
Csaba
--
csaba csikos - 2013-11-20
Discussion and Answer
You can't, verbatim and pre tags are literal. Use tt tag.
--
Peter Thoeny - 2013-11-20
I tried the <tt> %CALC{GET(variablename)}% </tt> and just the text color changed.
I figured out why it is different here, this site uses white background and non black text in tt tags, as soon as possible I m going to try at my workplace where I need.
Thanks
Csaba
--
csaba csikos - 2013-11-21
%CODE{".."}% ... %ENDCODE% is also good
--
csaba csikos - 2013-11-22
For those wondering, the
%CODE{}% is handled by the
SyntaxHighlightingPlugin.
--
Peter Thoeny - 2013-11-22
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.