[tw] Re: SyntaxHighlighter outdated
Have a look at: syntaxhighlighter space [1] The status is erxperimental, because, if you use expert mode (disabled by default) a vanilla tw can't render the new code. So, there is no fallback yet. If you use the default configuration everything should be fine. I did test the basics. But any feedback would be welcome. And it would be interesting if you describe your usecase. Which languages (brushes), do you want to highlight. text, css, js, xml are included by default. to use it, import all tiddlers tagged "syntax" or include syntaxhighlighter space into your space. Download [2] regards Mario [1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info [2] http://syntaxhighlighter.tiddlyspace.com/?download=TWHighlightSyntax.html On Aug 15, 3:04 am, Glantucan wrote: > First of all, thanks all for the support you are giving to this > awesome tool. I just started using it a week ago and I'm loving it. > > I found the former plugin to work quite well in genral but the > different brushes are quite oudated indeed, though there is an up to > date version here:http://alexgorbatchev.com/SyntaxHighlighter/ > > I'm not a javascript guru myself (not even a newbe) so I wonder > whether there is an easy way to update the TW plugin, or if there is > someone actually using it. > > Thanks in advance > > Have fun ;) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
Wow! That was fast :) Thanks man! I will check it out tomorrow. About brushes I would really apreciate actionscript 3 I understand that at the moment the old way is not available. I mean: // some as3 code -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
On Aug 18, 3:57 am, Glantucan wrote: > Wow! > > That was fast :) > > Thanks man! > > I will check it out tomorrow. > About brushes I would really apreciate actionscript 3 > > I understand that at the moment the old way is not available. I mean: > > // some as3 code > It would be possible, but I am not sure if it isn't a TiddlyWiki only solution. Because the new 3.0 syntax to render it, would be // your code What do you/others think about this? -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
BTW I neither know what a vanilla tw is, though I searched for it. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
> BTW I neither know what a vanilla tw is, though I searched for it. "vanilla" is a slang term. It means the "plain flavor"... without any extra add-ons, plugins, scripts, etc. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
On Aug 19, 12:28 am, Glantucan wrote: > BTW I neither know what a vanilla tw is, though I searched for it. sry for the confusion. If you tested it, it would be really nice to get your feedback, the good and the bad. new syntax? // your code What do you/others think about this? It would be relatively easy to implement this, but existing tiddlers would need some search/replace. What do actual users (if there a some listening) of the version 1.5 think about this? Without any feedback I'll do it my way :) @Glantucan: "First come, first served." regards Mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SyntaxHighlighter outdated
There is a new version now. [1] Expert mode is different now. It makes global changes with config.options. It is not that flexible as the older version. But we'll see. // your code works now. The macro <> is still there it can be used if you want to highlight tw inline html = // your code here <> = If you need your own brushes: *download the SyntaxHighlighter source [1] *copy your brush.js file into a tiddler *name it ShBrushXx.js *add the following 3 lines at the top of the tiddler /*** |Requires|ShCore.js| ***/ *tag it systemConfig !!! *save and reload. have fun! mario [1] http://syntaxhighlighter.tiddlyspace.com/ [2] http://alexgorbatchev.com/SyntaxHighlighter/download/ On Aug 19, 4:26 pm, PMario wrote: > On Aug 19, 12:28 am, Glantucan wrote:> BTW I neither > know what a vanilla tw is, though I searched for it. > > sry for the confusion. > > If you tested it, it would be really nice to get your feedback, the > good and the bad. > > new syntax? > > // your code > > > What do you/others think about this? > > It would be relatively easy to implement this, but existing tiddlers > would need some search/replace. What do actual users (if there a some > listening) of the version 1.5 think about this? > > Without any feedback I'll do it my way :) > @Glantucan: "First come, first served." > > regards Mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.