Added doc about how to add code.

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1587 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-06-03 15:50:18 +00:00
parent 43f45cf4d1
commit ea70210087

View File

@@ -6,6 +6,35 @@
* Have a look at [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia markup] documentation.
* The current website does not support the full Wikipedia syntax, but still most of the needed cases.
* To embed inline code:
** `` `foo.bar` ``
** `<code>foo.bar</code>`
** `<eiffel>foo.bar</eiffel>`
* To embed block code:
```xml
<code lang="eiffel">
class FOOBAR
</code>
```
```xml
<eiffel>
class FOOBAR
</eiffel>
```
<code lang="text">
```eiffel
class FOOBAR
```
</code>
Note: if you do not specify the lang, it is defaulted to "eiffel"
= Templates =
== Top page templates ==
Used to qualify the current page.