Erights:Editorial guidelines

From Erights

(Difference between revisions)
Jump to: navigation, search
(Code Conventions)
(Code Conventions)
Line 7: Line 7:
All wiki pages that contain code should pass [[Updoc]].  For now, this means that each page needs to have this near the top of each page:
All wiki pages that contain code should pass [[Updoc]].  For now, this means that each page needs to have this near the top of each page:
-
<pre>
+
<code>
-
? pragma.syntax("0.9")
+
? pragma.syntax("0.9")
-
</pre>
+
</code>
-
You'll want to place the pragma line in a <code>&lt;pre&gt; ... &lt;/pre&gt;</code> section.
+
You'll want to place the pragma line in a <code>&lt;code&gt; ... &lt;/code&gt;</code> section. It seems the lines between &lt;code&gt; tags need to be indented so that they'll be rendered into html with &lt;pre&gt; tags.

Revision as of 04:05, 23 December 2006

This site is intended to be an authoritative resource for the E language and object capability security in general. Please keep this in mind as you are editing.

Code Conventions

We are in the process of installing syntax highlighting for this wiki. So the tags used to indicate code are not yet settled.

All wiki pages that contain code should pass Updoc. For now, this means that each page needs to have this near the top of each page:

? pragma.syntax("0.9")

You'll want to place the pragma line in a <code> ... </code> section. It seems the lines between <code> tags need to be indented so that they'll be rendered into html with <pre> tags.

Personal tools
more tools