Wikidot syntax support

Status: Implemented

Created by leiger 25 Apr 2010 04:34

rating: 0+x

**STE **

The main reason I'm creating this is to use it with Wikidot. So at least some level of syntax support needs to be added, which can then be expanded upon later. At the moment it's just a simple text editor.


27 Apr 2010 15:10. Edited 0 times. (Edit, Permalink)
I need ideas on how to implement this.

Basically at the moment I'm thinking that there would be a button e.g. "ListPages" that I can click on. Clicking on it brings up a popup box, allowing me to select the options I want. e.g. "limit" with a text entry box next to it, and "separate" with a combo box where I can select yes/no. Basically, it would mean that you'd never forget to enter an attribute again.

Clicking OK will insert that code into the document, wherever your cursor is located.

But — that might not be the best way to go, and I don't want to start doing it that way if anyone has a better idea.


Included page "inc:signature" does not exist (create it now)

Ed Johnson

27 Apr 2010 18:42. Edited 1 times. (Edit, Permalink)
I think a bunch of buttons might be overwhelming, maybe not. I'm the type of user who rarely uses the editor toolbar buttons and would probably make more use of a menu with all of the modules listed. I like your idea of a dialog to fill out all of the parameters. The other thought I had was to simply insert the module code into the editor with all of the parameters listed and we can edit them from there (or remove them if we don't need them). The dialog box might be nicer if it would force entry of required parameters before inserting the code and if it supported a user defined "default" set of parameters (maybe stored in an external XML file).

I'll give this some more thought.

Included page "inc:signature" does not exist (create it now)


28 May 2010 00:23. Edited 1 times. (Edit, Permalink)

Ed Johnson wrote: Nice work! As you continue to add module support, I think it will be great if your sample syntax includes all parameters available to the module. That is one area in the Wikidot docs that I always thought was lacking. When I look up the syntax for a module, I would like to copy sample syntax that is complete and then paste that into my page for editing. The current Wikidot sample syntax usually has just bits and pieces of available parameters and I end up doing multiple copy/paste jobs.

Included page "inc:signature" does not exist (create it now)

Post Reply

Add reply on "Wikidot syntax support"

CSS Theme, Images and Code on this website are © Shane Smith 2010-2012. All forum posts by users and documentation licensed under Creative Commons BY-NC-SA 3.0 License.