Maybe macros are what you need. 
Have a look at this: 
http://tiddlywiki.com/#Formatting%20text%20in%20TiddlyWiki (under Macros 
header) and search tiddlywiki main page for info on macros.

Lukas



On Monday, 7 September 2015 11:21:03 UTC+2, [email protected] wrote:
>
> Le samedi 5 septembre 2015 22:04:43 UTC+2, Lukáš Kakos a écrit :
>>
>> Hi Olivier,
>>
>> I'm using Keyboard Snippets plugin (
>> http://braintest.tiddlyspot.com/#keyboard-snippets) to create custom 
>> shortcuts for katex.
>> For example I use 
>>
>> "alt+x" : { "pre":"$$", "post":"$$"}
>>
>> for inline mode and 
>>
>> "alt+c" : { "pre":"<div style='text-align:center'>\n$$\\displaystyle ", 
>> "post":"$$\n</div>"}
>>
>> for centered mode.
>>
>>
> Thanks Lukas for the trick. BTW is it possible to define new command in 
> tiddlywiki? I like to have a clean source too, so if I could define \[ and 
> \] to be your alt+c but without seeing all the <div...> in the source, it 
> would be perfect.
>
> Olivier.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0c200451-8094-4063-a648-db3309be9db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to