Tags:
create new tag
view all tags

SID-01829: Using in pre or verbatim

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Using in pre or verbatim
SupportCategory SpreadSheetPlugin
TWiki version

Server OS

Web server

Perl version

Browser & version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2013-11-22 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.