wiki2xhtml.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3. - This file is part of DotClear.
  4. - Copyright (c) 2004 Olivier Meunier and contributors. All rights
  5. - reserved.
  6. -
  7. - DotClear is free software; you can redistribute it and/or modify
  8. - it under the terms of the GNU General Public License as published by
  9. - the Free Software Foundation; either version 2 of the License, or
  10. - (at your option) any later version.
  11. -
  12. - DotClear is distributed in the hope that it will be useful,
  13. - but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. - GNU General Public License for more details.
  16. -
  17. - You should have received a copy of the GNU General Public License
  18. - along with DotClear; if not, write to the Free Software
  19. - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. -
  21. - ***** END LICENSE BLOCK ***** -->
  22. <html>
  23. <head>
  24. <title>Wiki Syntax</title>
  25. </head>
  26. <body>
  27. <h1>Wiki Syntax</h1>
  28. <p>Wiki formatting marks can be inserted in text by
  29. protecting them with "<code>\</code>".</p>
  30. <h2>Blocks</h2>
  31. <ul>
  32. <li>Leave an empty line between each block <em>of same disposition</em>&nbsp;;</li>
  33. <li><strong>Paragraph</strong> : text and an empty line&nbsp;;</li>
  34. <li><strong>Title</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
  35. for titles more or less important&nbsp;;</li>
  36. <li><strong>Horizontal rule</strong> : <code>----</code>&nbsp;;</li>
  37. <li><strong>List</strong> : line beginning by <code>*</code> or
  38. <code>#</code>. It is possible to mix lists (<code>*#*</code>) in order to
  39. make nested lists. The style of each level must be respected&nbsp;;</li>
  40. <li><strong>Preformated text</strong> : space before each line of
  41. text&nbsp;;</li>
  42. <li><strong>Blockquote</strong> : <code>&gt;</code> or <code>;:</code>
  43. before each line of text.</li>
  44. </ul>
  45. <h2>Inline elements</h2>
  46. <ul>
  47. <li>Punctuation correction is active. A non-breaking space
  48. will replace automatically each space preceding the marks :
  49. ";","?",":" and "!".&nbsp;;</li>
  50. <li><strong>Emphasis</strong> : two simple quotes
  51. <code>''text''</code>&nbsp;;</li>
  52. <li><strong>Strong emphasis</strong> : two underscores
  53. <code>__text__</code>&nbsp;;</li>
  54. <li><strong>Forced line break</strong> :
  55. <code>%%%</code>&nbsp;;</li>
  56. <li><strong>Insertion</strong> : two plus
  57. <code>++text++</code>&nbsp;;</li>
  58. <li><strong>Suppression</strong> : two minus
  59. <code>--text--</code>&nbsp;;</li>
  60. <li><strong>Link</strong> : <code>[url]</code>, <code>[name|url]</code>,
  61. <code>[name|url|language]</code> or
  62. <code>[name|url|language|title]</code>.
  63. <br /><em>If you want to insert a link to an anchor in the same page,
  64. replace url by #name-of-anchor</em>&nbsp;;</li>
  65. <li><strong>Image</strong> :
  66. <code>((url|alternate text))</code>,
  67. <code>((url|alternate text|position))</code> or
  68. <code>((url|alternate text|position|long description))</code>.
  69. <br />The position can take these values : L or G (left), R or D (right)
  70. or C (center).&nbsp;;</li>
  71. <li><strong>Anchor</strong> : <code>~anchor~</code>&nbsp;;</li>
  72. <li><strong>Acronym</strong> : <code>??acronym??</code> or
  73. <code>??acronym|title??</code>&nbsp;;</li>
  74. <li><strong>Citation</strong> : <code>{{citation}}</code>,
  75. <code>{{citation|language}}</code> or
  76. <code>{{citation|language|url}}</code>&nbsp;;</li>
  77. <li><strong>Code</strong> : <code>@@code here@@</code>&nbsp;;</li>
  78. <li><strong>Footnote</strong> : <code>$$footnote's body$$</code>.</li>
  79. </ul>
  80. </body>
  81. </html>