I have just started using the SyntaxHighlighter3 plugin, thanks Mario.
I would like to have it ignore / use my default formatting for any
{{{ blocks.
I see that in expert mode there is an entry for "{{{ txtShText:" so is
there a value that can be entered here that causes, the {{{ blocks to
not be touched?
OR do I need to create a "blank" shBrushBlank.js Brush, what is the
minimum required in that to achieve this result?
--
Thanks
AJ
On Nov 30, 4:53 am, AJ28 <ayj...@gmail.com> wrote:
> I would like to have it ignore / use my default formatting for any
> {{{ blocks.
What is your "default" format?
The plugin uses ShBrushPlain.js format for {{{
The ..Info tiddler [1] "Advanced Options" tells you more about user
defined brushes.
> I see that in expert mode there is an entry for "{{{ txtShText:" so is
> there a value that can be entered here that causes, the {{{ blocks to
> not be touched?
So you want to use TW default here?
Just did a short test:
- check option "chkExpertSyntax"
- check option "chkGuessSyntax"
and set
- txtShText: anyClass
the others will be "undefined"
it will add a class="anyClass" to {{{ blocks. So you can use .anyClass
for additional styling if needed. If .anyClass is not defined, it will
use TW defaults. That should do, what you want. Have a look at [1]
have fun!
mario
[1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info
Hi AJ,On Nov 30, 4:53 am, AJ28 <ayj...@gmail.com> wrote:
> I would like to have it ignore / use my default formatting for any
> {{{ blocks.
What is your "default" format?
The plugin uses ShBrushPlain.js format for {{{
The ..Info tiddler [1] "Advanced Options" tells you more about user
defined brushes.> I see that in expert mode there is an entry for "{{{ txtShText:" so is
> there a value that can be entered here that causes, the {{{ blocks to
> not be touched?
So you want to use TW default here?
Just did a short test:
- check option "chkExpertSyntax"
- check option "chkGuessSyntax"
and set
- txtShText: anyClassthe others will be "undefined"
it will add a class="anyClass" to {{{ blocks. So you can use .anyClass
for additional styling if needed. If .anyClass is not defined, it will
use TW defaults. That should do, what you want. Have a look at [1]
have fun!
mario
[1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info