Btw - for "real numbering" of lines and keywords like:syntax, highlighting, color and code, you should have a look at @pmario's SyntaxHighlighterPlugin:
http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info Cheers Måns Mårtensson On 4 Mar., 11:50, Måns <[email protected]> wrote: > Hi Alvaro > > > Is there a way to nest {{{ }}} code inside an item in an enumerate or > > itemize? > > > and also, > > > What would be a way to be able to have links parsed inside {{{ }}} ? I > > am trying to hyperlink functions in a Scheme program to tiddlers that > > explain what they do. Is it possible? > > You are able to create your own classes in the StyleSheet tiddler... > Scanning through the StyleSheetLayout and the StyleSheetColors you'll > find some css-rules for "code" and "pre".. > Combining these into a new css class, you'll be able to construct your > own class for your codesnippets: > > http://tw-abc.tiddlyspot.com/#TestPreSimile > > In the above example I've copied/combined what I found and called the > new class "presimile".. > > It can be invoked in two ways: > > 1) wrapping the text in {{presimile{text}}} > 2) tag the tiddler with "presimile" (without the quotes) and > everything in the tiddler will be affected.... > > You can tweak every parameter to create a unique css-class: > > /*Combined pre/code classes */ > .presimile > {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height: > 1.4em;font-family: 'Courier New', Courier;color: > [[ColorPalette::SecondaryDark]]; overflow:auto;border:1px solid > [[ColorPalette::SecondaryLight]]; background: > [[ColorPalette::SecondaryPale]];} > > /*Same combination made for tagging with "presimile" (without the > quotes) */ > div[tags~="presimile"].tiddler .viewer > {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height: > 1.4em;font-family: 'Courier New', Courier; color: > [[ColorPalette::SecondaryDark]]; overflow:auto;border:1px solid > [[ColorPalette::SecondaryLight]]; background: > [[ColorPalette::SecondaryPale]];} > > Hope this helps > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

