r9774 - helma-ng/trunk/apps/demo/skins
[email protected] Thu, 14 May 2009 22:05:06 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090514200506.D92F23D0D6@mia> |
Author: hannes
Date: 2009-05-14 22:05:06 +0200 (Thu, 14 May 2009)
New Revision: 9774
Modified:
helma-ng/trunk/apps/demo/skins/skins.txt
Log:
Add markdown code markers to unrendered macro tags.
Details at http://dev.helma.org/trac/helma/changeset/9774
Modified: helma-ng/trunk/apps/demo/skins/skins.txt
===================================================================
--- helma-ng/trunk/apps/demo/skins/skins.txt 2009-05-14 19:49:11 UTC (rev 9773)
+++ helma-ng/trunk/apps/demo/skins/skins.txt 2009-05-14 20:05:06 UTC (rev 9774)
@@ -9,20 +9,20 @@
helma> skin.render({ name: 'World' });
Hello World!
-The part wrapped in \<% %> is called macro tag in Helma NG. Macros are replaced at render time
+The part wrapped in `\<% %>` is called macro tag in Helma NG. Macros are replaced at render time
by looking for corresponding properties or functions in the context argument passed to `Skin.render()`.
Helma also provides a number of built-in macros which are described below.
### Subskins
A very important feature are subskins, which are named skin fragments that work pretty much like functions work in
-JavaScript. A subskin is created using the builtin \<% subskin %> tag and ends with the begin of the
+JavaScript. A subskin is created using the built-in `\<% subskin %>` tag and ends with the begin of the
next subskin or the skin end.
\<% subskin hello %>
Hello \<% name %>!</pre>
-Use the built-in \<% render %> macro to render a subskin with the current context:
+Use the built-in `\<% render %>` macro to render a subskin with the current context:
\<% render hello %>