Cool things you probably didn't know you could do.

Editor Shortcuts

Ctrl-1,2,3,4,5,6,0 while in the editor assign the associated heading styles or none Ctrl-0

Pre Editing Helper

When creating a formatted section (choose formatted from the format dropdown), sometimes there isn't a blank paragraph after the section. This makes it hard to continue writing normal copy. By pressing shift+enter, the cursor will jump out of the PRE block and into a new paragraph element. Handy!

DekiScript Modifiers

save, edit, view can be applied to any dekiscript call to execute that action on the appropriate call.

{{ edit: user.name }}

The above sample will output the user who is editing the page and will be saved into the contents.

API Magic

The api does lots and lots of magic. It's a big black-magical-box. Put in X get out X''''''''''''''''''''awesome.  Here are some interesting things you can do with the API that might not be exposed through the editor.

class="plain"

Will not execute Dekiscript

class="script"

Contents will be treated as dekiscript

function="foo"

Contents will be passed as the first argument to the function foo

function="foo(_, $, 'hey')"

Contents will be passed in as the second argument to the function foo

class="comment"

Contents will only be visible in edit mode

rel="custom"

If you want to embed your own formated link without having the API parse it, specify rel="custom" on the anchor tag

web.link()

Using the above command will display a full URL without any truncating.

inlined: http://---really---really--long--url...-gets--chopped

web.link: http://---really---really--long--url--that--gets--chopped

Tag page (Edit tags)
    Viewing 1 of 1 comments: view all
    Under "DekiScript Modifiers" you need to apply {{string.escape}} to the dekiscript so it doesn't execute. :)
    Posted 14:01, 17 Apr 2009
    Viewing 1 of 1 comments: view all
    You must login to post a comment.