Hello Matabele, Yes it's possible of course. I didn't check Stephan's bookmarklet but it is a single script to do that certain task. I will need a way to distinguish between normal shortcuts and multi-line shortcuts. Maybe adding a third parameter like "multiline:true" for that kind of situations.
I will try it out, but let me know if you thing this is a good way to accomplish. You don't have to specify multiline on every entry, just on those that actually are. I'll let you know when it's implemented. El domingo, 20 de abril de 2014 08:27:30 UTC+2, Matabele escribió: > > Hi Danielo > > A useful feature of Stephan Hradeck's TW5 bookmarklets (available > here<http://tw5magick.tiddlyspot.com/>) was > the way that the ol and ul bookmarklets inserted a # or * at the start of > the line for several lines at one time (when several lines are selected.) > Your keyboard shortcuts insert a # or * at the beginning of only the first > line, even when several lines are selected. > > Is there any way of implementing this? > > regards > > On Saturday, April 19, 2014 11:39:09 AM UTC+2, Danielo Rodríguez wrote: >> >> Hello, >> >> I'm glad to present my third plugin. This corresponds to the next week >> since I will try to deliver just one per week :P >> >> It has some limitations that I expect anyone could help me to eliminate. >> >> Description >> >> This plugin allows you to use keyboard shortcuts for the most common >> wikitext markup. >> Compatibility >> >> This has been tested with tiddlywiki 5.0.8 and 5.0.9. Since I cant' >> guarantee retro-compatibility It should work with consecutive releases. >> How to install >> >> Just drag and drop the link below to your own tiddlywiki file. >> >> KeyboardSnippets<http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets> >> Usage >> >> While on a text field just try some key combinations. If you have *text >> selected* it will be enclosed in the text snipped. >> Key combinations >> >> I already defined the most common shortcuts to wiki syntax. Here is a >> table of what is already available >> Combinationsnippetrenders asctrl+b'' ''*bold*ctrl+i// //*italics*ctrl+u__ __ >> *underline*ctrl+s,, ,, subscriptctrl+l*non ordered listctrl+o#ordered >> listctrl+kcodealt+t|| table cellalt+h|!|table headalt+s ~~ ~~strikeout >> Customization >> >> You can add your own key bindings just editing the file : >> >> $:/plugins/danielo/keyboardSnippets/KEYBINDINGS<http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets%2FKEYBINDINGS> >> . >> Adding a new entry >> >> You have to respect the formatting of the file. *The best way* to add a >> new entry is to copy an existing one and edit it. Every entry has to end in >> }, >> >> The format is one or more key modifiers and a single normal letter in >> lower case. >> Key modifiers >> >> The supported modifiers are: ctrl shift alt . *To use more than one >> modifier* you have to do it in that order. Example of valid key >> combinations are: >> >> - ctrl+o >> - shift+o >> - ctrl+shift+o >> - ctrl+shift+alt+o >> >> As invalid combinations you can see >> >> - shift+ctrl+o >> - ctrl+alt+shift+o >> - o+ctrl >> >> Removing customizations >> >> If you mess up with your customizations and you want to restore to >> default just delete the tiddler: >> >> $:/plugins/danielo/keyboardSnippets/KEYBINDINGS<http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets%2FKEYBINDINGS> >> . >> Limitations >> >> - HTML markup is not supported for snippets. >> - Caret ^ is not supported >> >> >> Hope you enjoy it!! >> > -- 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. For more options, visit https://groups.google.com/d/optout.

