[tw] Re: Howto import SyntaxHighlighter3 into an existing TWC file?
Just add this 3 linse at the top of your shBrushBash.js file. Since TWc activates plugins sorted by there name the core may be activated after your brush. The "Requires" info fixes this. /*** |Requires|ShCore.js| ***/ -m -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Howto import SyntaxHighlighter3 into an existing TWC file?
Hi Mario, Thank you very much! The SyntaxHighlighterPlugin works for my tiddlywiki files. But there is still a problem. While I tried to import the shBrushBash.js from the syntaxhighlighter 3.0.83 distribution, I encountered an error: Error: ReferenceError: SyntaxHighlighter is not defined Could you please show me how to resolve it? All the best! 在 2014年8月28日星期四UTC+8下午2时59分48秒,PMario写道: > > Hi, > The SyntaxHighlighterPlugin3Info [1] tiddler lists all the tiddlers, that > you need to import to your TW. > > Important: You need to import* the content* of all the listed tiddlers > into your TW. > > The *.js tiddlers need to be tagged: systemConfig > Do _not_ tag the *.css tiddlers > > To activate the CSS tiddlers you need to add the following 2 lines to your > StyleSheet tiddler > > [[ShCore.css]] > [[ShThemeDefault.css]] > > hope that helps > mario > > > [1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Howto import SyntaxHighlighter3 into an existing TWC file?
Hi, The SyntaxHighlighterPlugin3Info [1] tiddler lists all the tiddlers, that you need to import to your TW. Important: You need to import* the content* of all the listed tiddlers into your TW. The *.js tiddlers need to be tagged: systemConfig Do _not_ tag the *.css tiddlers To activate the CSS tiddlers you need to add the following 2 lines to your StyleSheet tiddler [[ShCore.css]] [[ShThemeDefault.css]] hope that helps mario [1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.