================================================================ my proposal: inline markup http://www.w3.org/TR/xhtml2/mod-text.html example xhtml comment *phrase* phrase same as markdown (textile treats as strong) `phrase` phrase same as markdown (textile uses @ for code) @word@ word phrase usually bold (vs. em being usually italic) phrase in xhtml2 it is span edit="inserted" datetime="2003-01-13T13:15:30Z" http://www.w3.org/TR/xhtml2/mod-edit.html phrase some quote in xhtml2 it is some quote. see http://www.456bereastreet.com/archive/200411/quotations_and_citations_quoting_text/ phrase phrase lists http://www.w3.org/TR/xhtml2/mod-list.html - unordered list item wrapped text -- nested item # ordered list item : term : definition like PmWiki; Wiki uses leading semi colon dl, dt, dd, ol, ul, li block markup http://www.w3.org/TR/xhtml2/mod-structural.html =heading 1=

heading 1

==heading 2==

heading 2

must appear on line by itself white space on either side of the = does not matter p starts with a blank line or beginning of file or close of a block (table, dl, ol, ul, center, div, h*) ends with a blank line or end of file or start of a block and
         is xhtml2, not xhtml1

  

...

# note still doesn't have support for standard formatting of attribution at bottom, so could insert

there or use a title attribute of title="title, author, date" which javascript inserts on the bottom you embed a cite element at the bottom -- which may or not contain an element to an external source or an internal biblio entry [XML] :classname:

:(#id)classname:
...
:classname:Some Title
...
alone on line; rest of it may be an optional title for the block ends with next line at same indent level or less title is suitable for figure or table etc. hypertext links and anchors http://www.w3.org/TR/xhtml2/mod-hypertext.html external links http://wherever.com
http://wherever.com pi might exclude "http://" from default label [[http://www.google.com|This Link points to google]] This Link points to google is there any real savings? relative links, different document but same "namespace" [[pagename]] [[pagename#anchorname|link label]] system will present nonexistent links differently link to some known internal/external site in a special namespace [[namespace:pagename]] [[namespace:pagename|link label]] relative link within document, to a section ==(#anchorname)Some Heading== like textile, insert after * or == to add an id attribute. or without a # for a class. [[#anchorname]] Some Heading automatic titling from sections xhtml2 uses any/@id for internal references html4 uses a/@name (illegal in strict) or any/@id relative link within document, to a footnote see http://www.archiva.net/footnote/ and http://web-graphics.com/mtarchive/001626.php and http://www.brandspankingnew.net/archive/2005/07/format_footnote.html [[Ref:#refname]] [refname] ... ...
...
Whether to use superscript numbers or [name] is up to presentation layer. The footnote definitions can go anywhere. The notes are ordered in the order of first reference in the text. footnote content is dc:author="Fred Flinstone" dc:date="2005" downloadable media link [[Media:foo.mov|title]] embedded image link http://www.w3.org/TR/xhtml2/mod-image.html see http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax [[Image:foo.png|alt text]] alt figure
...
RFC 2629?
http://www.w3.org/2004/04/xhlt91/ table http://www.w3.org/TR/xhtml2/mod-tables.html table based on tab stops from end of >1 space/tab {{table}} horizontal rules http://www.w3.org/TR/xhtml2/mod-structural.html ---- at least 4 hyphens. must be alone on a line. xhtml2 has pragmas processing instructions {{toc}} {{references}} disable processing bibliography ================================================================ Long list: http://en.wikipedia.org/wiki/List_of_lightweight_markup_languages http://micans.org/zoem/#ecosphere (gone now?) http://c2.com/cgi/wiki?TextFilter comparison: http://wiki.splitbrain.org/wiki:markup_compare http://bluebones.net/2005/02/humane-text-formats/ discussion: http://webseitz.fluxent.com/wiki/SmartAscii http://zwiki.org/StructuredTextSucks http://fishbowl.pastiche.org/2004/03/19/in_defense_of_wiki_markup http://wellbourne.dyndns.org/~rsanders/blog/archives/000298.html [gone] features: tables, footnote http://www.usemod.com/cgi-bin/mb.pl?WikiMarkupStandard long overview of some choices http://www.usemod.com/cgi-bin/mb.pl?WikiMarkupStandardIsMisguided agrees that leading space become monospace is problematic, particularly with ambiguity with the almost-as-bizarre blockquote syntax. and the "ticky" bold and italic. notes that with WYWIWYG html editor, issue somewhat goes away. http://www.usemod.com/cgi-bin/mb.pl?SillyTextFormattingRules another critique of traditional wiki markup http://www.usemod.com/cgi-bin/mb.pl?CharacterFormattingRules good comparison of different phrase-level markup http://www.usemod.com/cgi-bin/mb.pl?ParagraphFormattingRules good comparison of different block-level markup also has good commentary on problems with Ward's markup above comparisons don't cover things like markdown or StructuredText also don't cover linking syntax ================================================================ http://atox.sourceforge.net/atox.html ascii ================================================================ http://code.google.com/p/pandoc/ converts between different nonxml markups ================================================================ * Markdown, SmartyPants http://daringfireball.net/projects/markdown/ and http://daringfireball.net/projects/smartypants/ http://en.wikipedia.org/wiki/Markdown works with MT and Bloxsom. used in wordpress TextMate has a markdown mode: http://www.joelonsoftware.com/items/2006/09/11.html and MultiMarkdown too: http://comox.textdrive.com/pipermail/textmate/2006-April/009472.html perl originally. MIT license ruby implementation: http://bluecloth.rubyforge.org/ php implementation: http://www.michelf.com/projects/php-markdown/ with table support: http://www.michelf.com/projects/php-markdown/extra/
...
http://fletcher.freeshell.org/wiki/MultiMarkdown Fletcher T. Penney xslt footnotes, cross-references, tables cpan Text::Multimarkdown http://www.annocpan.org/~KULP/Text-MultiMarkdown-1.0.1/lib/Text/MultiMarkdown.pm Darren Kulp a better version: http://fletcher.freeshell.org/wiki/MultiMarkdownTextMateBundle various hacks: http://fletcher.freeshell.org/wiki/MarkdownStuff includes tables and footnotes, not in the original. see also http://six.pairlist.net/pipermail/markdown-discuss/2005-August/001441.html cheat sheet: http://people.engr.ncsu.edu/jayoung/site/pages/ewe/markdown-syntax-cheatsheet http://daringfireball.net/projects/markdown/syntax http://www.wishingline.com/downloads/documentation/markdown_cheatsheet.pdf Markdown vs. reST: http://www.aaronsw.com/weblog/001189 says Markdown does better at multi-paragraph list items than AFT and Textile? has a reverser from html to Markdown: htmltext (python) Markdown uses punctuation chars for markup allows html markup to just be inlined does automatic fixing of ampersand as appropriate also smart about allowing <> see also http://gu.st/proj/HumaneText.service/ and HtmlService: http://crypticlife.net/archives/2004/03/30/textedit_textile_and_html.html markdown Heading 1 ========= Heading 2 --------- ## Heading 2 either way can be used *italic* or _italic_ **bold** or __bold__ --- or *** horizontal rule line ending with 2 or more spaces
preformatted text: optional space, colon, blank line, 4blanks or tab. gets you indented pre text some text * list item with multiple paragraphs 1. ordered list item > block > quote `code span` ![alt text](/oath/foo.png) inline image http://www.example.com [link text](http://example.com "alt") [link text][id] [id]: http://example.com "alt text" \* escaping smartypants will do these conversions to "smart" characters: "stuff" and 'stuff' and ``stuff'' to curly -- to en dash, --- to em dash ... to ellipsis outside of