Farkup

Look at the source to this page by clicking Edit to compare the farkup language with resulting output.

level 1 heading

level 2 heading

level 3 heading

level 4 heading

Here is a paragraph of text, with emphasized and strong text, together with an inline code snippet. Did you know that E=mc2, and L2 spaces are cool? Of course, if you want to include _ special * characters ^ you ~ can % do that, too.

You can make Wiki Links just like that, as well as links to external sites: http://sbcl.sourceforge.net. Custom link text can be used with both types of links.

Images can be embedded in the text:

http://www.factorcode.org/logo.png

Unordered lists:

  • a list
  • with three
  • items

Ordered lists:

  1. a list
  2. with three
  3. numbered items

You cannot yet nest lists.

Horizontal lines:


Tables:

a tablewithfourcolumns
andtworows...

Here is some code:

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

There is syntax highlighting for various languages, too:

PEG: parse-request-line ( string -- triple )
    #! Triple is { method url version }
    [ 
        'space' ,
        'http-method' ,
        'space' ,
        'url' ,
        'space' ,
        'http-version' ,
        'space' ,
    ] seq* just ;

Some Java:

/**
 * Returns the extension of the specified filename, or an empty
 * string if there is none.
 * @param path The path
 */
public static String getFileExtension(String path)
{
    int fsIndex = getLastSeparatorIndex(path);
    int index = path.lastIndexOf('.');
    // there could be a dot in the path and no file extension
    if(index == -1 || index < fsIndex )
        return "";
    else
        return path.substring(index);
}

This revision created on Sat, 15 Jun 2013 22:45:02 by NewDave (removal of spam)