mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 23:02:28 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user