1 Look at the source to this page by clicking *Edit* to compare the farkup language with resulting output.
7 === level 3 heading ===
9 ==== level 4 heading ====
11 Here is a paragraph of text, with _emphasized_ and *strong* text, together with an inline %code snippet%. Did you know that E=mc^2^, and L~2~ spaces are cool? Of course, if you want to include \_ special \* characters \^ you \~ can \% do that, too.
13 You can make [[Wiki Links]] just like that, as well as links to external sites: [[http://sbcl.sourceforge.net]]. [[Factor|Custom link text]] can be used [[http://www.apple.com|with both types of links]].
15 Images can be embedded in the text:
17 [[image:http://factorcode.org/graphics/logo.png]]
37 |a table|with|four|columns|
47 There is syntax highlighting for various languages, too:
49 [factor{PEG: parse-request-line ( string -- triple )
50 #! Triple is { method url version }
64 * Returns the extension of the specified filename, or an empty
65 * string if there is none.
66 * @param path The path
68 public static String getFileExtension(String path)
70 int fsIndex = getLastSeparatorIndex(path);
71 int index = path.lastIndexOf('.');
72 // there could be a dot in the path and no file extension
73 if(index == -1 || index < fsIndex )
76 return path.substring(index);