Wiki Diff SandBox, revision #33 to tip

== Play Here ==
* This is my firs line
** The first line is dull
** The secound line will be dull too
* This is my second line

one more line
----
[[blah:JohnDoe]]

Three tildas, ~~~

Four tildas, ~~~~

Example of the <##eucode##> tag

<eucode>
include file.e as file

puts(1, "Hello World!\n")
</eucode>

== Controversial Entry Keyword ==

<eucode>
-- NEW
global function find_all(object x, sequence source, integer from)
sequence ret

ret = {}
while from > 0 with entry do
ret &= from
from += 1
entry
from = find_from(x, source, from)
end while

return ret
end function
</eucode>

You can play here! Change this to be anything you want. Use for learning purposes only, please.

|=English | # | Thai |
|one | 1 | neung|
|two | 2 | song |
|three | 3 | saam |
|four | 4 | sii |
|five | 5 | ha |
|six | 6 | hok |
|seven | 7 | jet |
|eight | 8 | baht |
|nine | 9 | kow |
|ten | 10 | sip |


possible anomalies at time of writing.\\
triple brace inline is different than on start of line.
this may be unavoidable because of the PRE tag?\\
triple brace at line start will forcing a linebreak\\

bullet list sub item is working\\
normal indent is not returning to margin\\
you have to leave a blank line after an ordered list.\\

Examples of ,,subscript,, ^^super^^ --deleted-- ++inserted++ script.



!! This is a wiki comment because it begins with two '!'


!! Normal HTML comment don't display


\\
Use {{{//italics//}}} for //italics//
Use {{{**bold**}}} for **bold**

Bullet list:
{{{
* Bullet list
* Second item
** Sub item ...
}}}

* Bullet list
* Second item
** Sub item

{{{
# Numbered list
# Second item
## Sub item
}}}

# Numbered list
# Second item
## Sub item
# Third item
## Sub item
### Sub Sub item

\\
Links {{{Link to [[wikipage]]->}}} Link to [[wikipage]]\\
Links with a name {{{[[URL|linkname]]->}}} [[URL|linkname]]\\

following apparently creates a new wiki page?\\
{{{Make a new wiki page: [[wikiTESTpage1]]}}}\\
Link to [[wikiTESTpage1]]\\

testing long link description while making page/link:\\
{{{[[Write your own descriptive link text here -> WriteYourDesiredPageNameHere]]}}}\\
Link to:
[[Write your own descriptive link text here -> WriteYourDesiredPageNameHere]]



@[:topple|Top]

Large heading: {{{= Large heading->}}}
= Large heading


Medium heading: {{{=== Medium heading->}}}
=== Medium heading


Small heading: {{{==== Small heading->}}}
==== Small heading

Horizonal line: {{{---- ->}}} !!-- what about width and centering?--> {{{----}}}
----

To force a line break: {{{Force\\Linebreak ->}}}
Force\\Linebreak

!!!-- very tricky to get double indirection to work right w/o ~escape
if you see this multiline hidden comments don't work **bold** either!!!

{{{
{{{== [[Nowiki]]:
//**don't** format//
~}~}~} w/o ~~~
}}}
{{{
== [[Nowiki]]:
//**don't** format//
}}}


//nested **bold italic** format//

!!!-- * no table yet no comment close will consume rest of page
|=|=table|=header|
|a|table|row|
|b|table|row| (tables not implemented yet)

within heaadline parsing optional\\
{{{=== **not** //parsed// === }}}\\
##but opening and closing * & \ is consuned.## bug?
== **not** //parsed// ==
closing header '{{{=}}}' is optional
=== **not** //parsed//



[[http://www.wikicreole.org|www.wikicreole.org]]
[[http://www.wikicreole.org/wiki/Creole1.0TestCases|Creole1.0TestCases]]

http://www.wikicreole.org/attach/CheatSheet/creole_cheat_sheet.html

@[:middle|Mid]

Fixed width font is {{{##Fixed width text example##}}} ##Fixed width text example##

{{/images/famfam/bug.png}}

{{{ {{/images/famfam/bug.png|title}} }}}-> Image with title


I have an idea for a new feature for the next major release of Euphoria.

At its heart the idea is simply to create a new built-in global variable that can be accessed by any routine. Beyond that basic idea would be optionally/gradually adding some simple coding to various libraries so as to take advantage of that variable.

Here is a hypothetical example of how this might be used:

%%style=embedded
%(
====8.16.4.7 add_item

<eucode>
include std/sequence.e
namespace stdseq
public function add_item(object needle, sequence haystack, integer pOrder = 1)
</eucode>

Adds an item to the sequence if its not already there. If it already exists in the list, the list is returned unchanged.

=====Parameters:
# ##needle## : object to add.
# ##haystack## : sequence to add it to.
# ##order## : an integer; determines how the needle affects the haystack. It can be added to the front (prepended), to the back (appended), or sorted after adding. The default is to prepend it.

=====Returns:
@[:bottle|Bot]

# A sequence, which is ##haystack## with ##needle## added to it.
# The global variable **EUXSC** will be set as follows:
## If ##needle## was successfully //added// to ##haystack## then ##EUXSC = 0##
## If ##needle## was //already// part of ##haystack## then ##EUXSC = 1##
## If ##needle## was //not// already part of ##haystack## and also //failed// to be added then ##EUXSC = -1##
## If ##needle## was //not// already part of ##haystack## and also //failed// to be added to ##haystack## then ##EUXSC = -1##

)%



can creole add named links on wiki?
[[http://openeuphoria.org/wiki/view/SandBox.wc#topple]]
[[http://openeuphoria.org/wiki/view/SandBox.wc#middle]]
[[http://openeuphoria.org/wiki/view/SandBox.wc#bottle]]
guess so




)%

Search



Quick Links

User menu

Not signed in.

Misc Menu