Django Library Mycreole
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. MYCREOLE_HELP = """\
  2. = Creole Markup
  3. Some Fields are interpreted as creole. \
  4. See http://www.wikicreole.org for more details.
  5. == Text Markup
  6. | =Name | =Syntax | =Result |
  7. | Normal | {{{text}}} | text |
  8. | Bold | {{{**text**}}} | **text** |
  9. | Italics | {{{//text//}}} | //text// |
  10. | Underline | {{{__text__}}} | __text__ |
  11. | Raw Link | {{{https://python.org}}} | https://python.org |
  12. | Text Link | {{{[[https://python.org|Python]]}}} | [[https://python.org|Python]] |
  13. == Additional syntax
  14. | Image | {{{ {{/media/theme/logo.png|logo}} }}} | {{/media/theme/logo.png|logo}} |
  15. | Attachment Text Link | {{{[[attachment:file.ext|Python]]}}} | |
  16. | Attachment Image | {{{ {{attachment:logo.png|logo}} }}} | |
  17. == Paragraph Markup
  18. === Bullet List
  19. {{{
  20. * Entry One
  21. * Entry Two
  22. ** Subentry Two.One
  23. }}}
  24. results in:
  25. * Entry One
  26. * Entry Two
  27. ** Subentry Two.One
  28. === Numbered List
  29. {{{
  30. # Entry One
  31. # Entry Two
  32. ## Subentry Two.One
  33. }}}
  34. results in:
  35. # Entry One
  36. # Entry Two
  37. ## Subentry Two.One
  38. === Headings
  39. {{{ = Large Heading }}}
  40. results in:
  41. = Large Heading
  42. {{{ == Medium Heading }}}
  43. results in:
  44. == Medium Heading
  45. {{{ === Small Heading }}}
  46. results in:
  47. === Small Heading
  48. === Line Break
  49. {{{
  50. Multiple
  51. line text
  52. }}}
  53. results in:
  54. Multiple
  55. line text
  56. === No Line Break
  57. {{{
  58. Single \\
  59. Line
  60. }}}
  61. results in:
  62. Single \
  63. Line
  64. === Paragraph
  65. {{{
  66. Part 1
  67. Part 2
  68. }}}
  69. results in:
  70. Part 1
  71. Part 2
  72. === Horizontal Line
  73. {{{
  74. ----
  75. }}}
  76. results in:
  77. ----
  78. === Table
  79. {{{
  80. | =Header 1 | =Header 2 | =Header 3 |
  81. | body row 1 | column 2 | column 3 |
  82. | body row 2 | - | - |
  83. }}}
  84. results in:
  85. | =Header 1 | =Header 2 | =Header 3 |
  86. | body row 1 | column 2 | column 3 |
  87. | body row 2 | - | - |
  88. === Unprocessed (raw) Text
  89. {{{
  90. {{{
  91. unprocessde data! <div>
  92. }}\0}
  93. }}}
  94. results in:
  95. {{{
  96. unprocessde data! <div>
  97. }}}
  98. """