===== DokuWiki 和 MediWiki 以及 Commonmark(Markdown标准版)语法比较 ===== | ^DokuWiki ^MediaWiki ^Commonmark ^ ^内部链接 |[[链接]] \\ [[namespace:link]]\\ [[link|带标题]] | [[链接]] \\ [[namespace:link]]\\ | [链接][1]\\ ⋮\\ [1]: http://commonmark.cn | ^外部链接 |[[http://wiki.eureka.name]] \\ [[http://eureka.name|Eureka Chen]] | [http://eureka.name Eureka Chen] |[链接](http://commonmark.cn) | ^标题 | ====== Level 1 ======\\ ===== Level 2 =====\\ ==== Level 3 ====\\ === Level 4 ===\\ == Level 5 == | ==Section==\\ ===Subsection===\\ ====Sub-subsection==== | # Heading 1 \\ ## Heading 2\\ ### Heading 3 | ^粗体 |**粗体**|'''粗体'''|**粗体**| ^斜体 |//斜体//|''斜体''|*斜体*| ^等宽体(代码) |''等宽体''|等宽体|%%等宽体%% | ^删除线 |删除线|删除线|删除线 | ^上标 |上标|上标|上标 | ^下标 |下标|下标|下标 | ^图片 |{{local.jpg}}\\ {{http://foo.bar/baz.jpg}} | [[Image:wiki.png]]|![Image](http://res.chenyaojun.com/img/logo60x60.png) | ^无序列表 |空空* item 1\\ 空空空空* item 1.1\\ 空空* item 2 | * Item 1\\ ** Item 1.2\\ * Item 2|* Item 1\\ 空空空* Item 1.2\\ * Item 2 | ^有序列表 |空空- item 1\\ 空空空空- item 1.1\\ 空空- item 2 | # Item 1\\ ## Item 1.2\\ # Item 2|1. Item 1\\ 空空空1.2 Item 1.2\\ 2. Item 2 | ^平行线 |----|----|---\\ ***\\ |