3.9 KiB
Test of basic mege features
#&summary Test of mege's most important and most commonly used features #&
Test of basic mege features
mege has many features. A bit too many, perhaps.
Remember to visit /ngws/metanohi/src/commit/873e5fc8d9fe4e5be46b788ab621634b8289b276/site/projects/mege/tests/%3C@eval%20page.locurl@%3E.org to see the source of this document.
Basic inline formatting
This is a paragraph.
This is a paragraph with the last word strongly emphasized. This is underlined. The effects can be combined. Press -C-n- to scroll down if your web browser is Conkeror (-Ctrl+N- in non-emacs speak).
Type this: $ echo echo
Extended inline formatting
mege uses postfix operators for less essential inline formatting.
More&strong strong text&samp. And even acronyms and abbreviations: GNU&acro="GNU's not UNIX" and MF&abbr="Medlem af Folketinget". {Other colors}&color=red and {other sizes}&small as well, {and {also (really)}&color=green combinations}&large.
Now subtract y&var from x&var - 232. And a definition: {An integer above 0 is above -1a number}&dfn. {Typewriter text}&tt.
Lists
- A
- B
- C
Another list:
- The text of this line actually takes up two lines in its source form, and not just one.
-
Just one line
- A sublist
-
with another entry
- and so on
-
etc.
- ouoiaou
-
ouaoiu
- oaiaou
- continuing
Definition lists
- Lizard
- an animal
- Ape
- also an animal
- Book
-
not an animal
- Other books
- in existence
- ?
- fail
- aoa
-
auoua oeu aou oe o u ouaoe uaoe uo uaoura oeu euao aoe aoe u au oo uo uoe uo oe u,. uoeauoe uoa u,u
- a
- 3u :: o (correct behaviour)
Images
#&img;url=test0.png, width=270, float=right, \ #&caption='A test picture'
#+with a caption on two lines #&img;url=test0.png, width=240, float=right
#&caption A test picture #& #&img;url=test0.png, width=210, float=right
Links
Here is a link: Wizard's webpage. And a shorter one: http://example.com/! I want to underline this link: http://example.com/&underline.
Inline modifiers
This is a bt&acro='brutal test' of mege. More {bru te}&abbr='brutal testing'…
- In a list
- Not escaped: x&var, escaped: x\&var, not escaped in group: {x}&var, escaped in group: {x}\&var. ns@metanohi.name ua
Nested groups: {{ab{ula aa}&abbr=a cd}&var&color=red cd}&acro
Inline inline formatting
mege. mege … mege, {mege mege
}&html. mege
! -C-f-?
Fail: ~mege ~, *meg*e, solution: {{mege }&samp}, {meg&strong}e
Nested fail: */oo/ aub.
{{a&strong}&emph}, {a&strong&emph}
A woo!