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/9293d2af-609e-4672-a014-74f05e446cd2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

