From ea70210087dbb0cb2fff2494be68d44941e9d1b1 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Fri, 3 Jun 2016 15:50:18 +0000 Subject: [PATCH] Added doc about how to add code. git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1587 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../trunk/contribute/editing_help.wiki | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/documentation/trunk/contribute/editing_help.wiki b/documentation/trunk/contribute/editing_help.wiki index b2da8d0a..dcf54b89 100644 --- a/documentation/trunk/contribute/editing_help.wiki +++ b/documentation/trunk/contribute/editing_help.wiki @@ -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` `` +** `foo.bar` +** `foo.bar` + +* To embed block code: + +```xml + + class FOOBAR + +``` + +```xml + + class FOOBAR + +``` + + +```eiffel + class FOOBAR +``` + + +Note: if you do not specify the lang, it is defaulted to "eiffel" + + + = Templates = == Top page templates == Used to qualify the current page.