metanohi/site/projects/mege/test/basics.org

2.6 KiB

Test of basic mege features

#&summary Test of many features #&

Test of mege features

mege has many features. A bit too many, perhaps.

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

      1. and so on
      2. etc.
    • 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=test.png,alt='This is a test picture',width=340

Links

Here is a link: Wizard's webpage. And a shorter one: http://example.com/! I want to underline this link: http://example.com/.

Block containers

Block quote:

#&block Hello. #&

Combination

#÷large #&block This is a paragraph inside a blockquote inside a block container. \#& #& #&

Inline container

abc #&-strong,tiny,color=red def

(no new parapraph) #& ghi.

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.org ua

Nested groups: {{ab{ula aa}&abbr=a cd}&var&color=red cd}&acro

Inline inline formatting

mege. megemege, {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!

Tables

Body only

Name Age
Xryurg 300
Bkrau 2

With head and foot

Name Age
Xryurg 300
Bkrau 2
Name Age

Footnotes

This sentence is true1. This is not2.

Subscript and superscript

xtallyho = 3312, x_\{tallyho} = 33^\{12}

Eval'd Code

Inline code: <@eval 2 + 3@>. <@exec print('aha')

Inline code: #&-eval 2 + 3 #&

Block code: #++eval

2 + 3

Inline HTML: <@html <strong>strong text</strong>@>. Smiley: '_~

Org features not supported by mege

In lists

10. [&10]Starting at 10
11. ABC
40. [&40]Going to 40
41. 2+2=4

1

Master of Truthfulness, 1997

2

Master of Truthfulness, 1999, revised ed., with special introduction by the Master of Falsefulness

\2 Master of Truthfulness, 1999, revised ed.