On Tuesday, August 24, 2021 at 12:16:07 PM UTC-7 heusmich wrote:

> *The command I write into the table:* <set 
> xpath="/items/item/property[@name='Stacknumber']/@value">30000</set>
> *What I can see when I save it:* 30000
> So the question is, is it possible to disable the formatting not for the 
> complete tiddler but for some texts in the tiddler?
>

TiddlyWiki sees any content inside angle brackets as HTML syntax, which it 
passes to the browser for processing.
Thus, in your example, <set xpath="...">30000</set>, only the 30000 remains 
to be rendered by TiddlyWiki.

You can bypass this handling by enclosing the content within single 
backtick characters, like this:
`<set xpath="/items/item/property[@name='Stacknumber']/@value">30000</set>`

This will tell TiddlyWiki to render the content as <code>...</code>, which 
prevents the browser from processing the angle-bracket enclosed content.  
Note that, by default, TiddlyWiki formats "code" content using red 
monospaced text on a gray background with a border.  If you want to change 
this appearance so the content looks like normal text, you can create a 
tiddler, tagged with $:/tags/Stylesheet, containing the following CSS rule:
.myCode code { color:inherit; background:inherit; border:0; 
font-family:inherit; }

Then, you can enclose your table content within like this:
@@.myCode
|`<set 
xpath="/items/item/property[@name='Stacknumber']/@value">30000</set>` 
|Description goes here |
|`another command here` |Another description here |
@@

By doing this, any <code>...</code> within the table will appear as normal, 
unparsed text.  Q.E.D

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56a03676-c72c-4ca3-a198-d03b83d5ab02n%40googlegroups.com.

Reply via email to