Hi webcorerad,

Simply use basic html:

<pre class="altstyle">code</pre>

or for inline markup:

<code class="altstyle">code</code>

You can also wrap that up in a macro:

title: $:/_my/macros/pre
tags: $:/tags/Macro

\define pre(code, class:"altstyle")
<pre class="$class$">code</pre>
\end

And then do:

<<pre """your code""">>

Or...

<$macrocall $name="pre" code={{$:/that-tiddler-with-code}}/>

Best wishes,

Tobias. 

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/560f292d-7b1b-4840-a3c9-4d0c4f14a10e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to