Clone wiki

Core / Howtoedit


You need to create an account on bitbucket to be able to update this wiki. You only need to join at the free level. Remember, bitbucket is primarily a code repository, not a wiki. The access levels are focused on code repository access, not the wiki. Joining bitbucket will not grant you access to the code repository.


Commonly used techniques are described below. For the full capability refer to bitbucket documenting. The currently the information is available here

Mark-up conventions

New pages on the wiki can use the following conventions for mark-up: Markdown (the default), Creole, reStructuredText and Textile. For reasons of history, most pages in the Codea wiki have been created to use the Creole conventions for mark-up.

Code syntax highlighting

This wiki allows automatic syntax highlighting of code. Using the Creole conventions for mark-up, code is put between pairs of triple braces {{{ and }}}. The syntax highlighting is indicated by #!lua (for Lua) or #!glsl (for GLSL ES) put on a separate line after the opening braces and before the code itself. For example:

In Lua:

-- Use this function to perform your initial setup
function setup()
    print("Hello World!")

-- This function gets called once every frame
function draw()



varying lowp vec4 vColor;

void main()
    // Pass the mesh color to the fragment shader
    vColor = color;

When referring to pages on this wiki from this wiki use the short link. Edit this page to see how this link to home uses a local link with an alias.