How can I stop the wiki-text format shortcuts from being interpretated in asciiart - divs

Hi,
I am working on a wiki-game where I would like to use ascii art.
I made a stylesheet to display ascii art, but the interpretation of the wikitext-formaetct shortcuts (’’ , __ , ) which are frequently used in ascii-pitures spoils the images.

.asciiart {width: 100%;white-space:pre;line-height:1em;font-family: monospace;-moz-transform-origin: left center;}

How can I prevent this?

1 Like

There are 2 pragmas, that can be used at the top of a tiddler.

\rules only … and
\rules except …

If you go to the ControlPanel : Info : Advanced : Parsing tab you can see the names of all the rules, that the TW parser knows.

eg: if you write

\rules only bold

''some bold text'' //some text italic//

The italic text won’t work anymore because the parser will only use the bold rule.

If you write

\rules except bold 

''some bold text'' //some text italic//

The only element that won’t be parsed will be bold. All the other wiki formats will work. … So IMO what you need is some \rules except bold underscore ...

3 Likes

Hi Mario, Thanks a lot :slight_smile: