Tags:
create new tag
, view all tags

Question

Hi,

i have a little problem with presenting sourcecode in twiki. I want to put it into tables.

Something like this:

Algorithm Code
Nr.1 code
Nr.2 code

The problem is that i have some code-pieces where i use || for OR. I tried nop and verbatim but it didnt work out. verbatim works of course but it destroyed my table.
Maybe im just stupid and there is a way to use verbatim without destroying the table-structure but i didnt found it.

Is there something i dont get or is it impossible to use pipes in tables ?

Thanks in advance

  • TWiki version: TWiki 01 Feb 2003
  • Perl version: 5.6.0
  • Web server & version: Apache 1.3.19
  • Server OS: Linux
  • Web browser & version: Opera 7, IE 6, Netscape 7
  • Client OS: Win 2k

-- TobiasBade - 08 Jul 2003

Answer

It's not an answer, but KwikiWiki allows to use perl's "heredoc" syntax for content of a table's cell : see end of this page.

-- PeterMasiar - 09 Jul 2003

Another try: You could use ASCII code for pipe symbol - 124, like this: |

Test table with pipe | in the cell:

A 1
B |

Will this solve your problem?

-- PeterMasiar - 10 Jul 2003

Yes it does. Thank you very much smile

-- TobiasBade - 11 Jul 2003

Topic revision: r5 - 2003-07-14 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.