Facts Test Page A

For ease in parsing, Morinfo specifies a particular format for "facts" pages. Specifically, this is a dialect of YAML, a simple "data serialization" language.

To ease viewing and editing, we wrap the YAML code in TWiki's verbatim tags. To let Morinfo know the type of enclosed data, we add a class attribute. Finally, to let Morinfo distinguish between multiple code snippets on a page, we add an id attribute.

  This:
    Is:
      -  'some'
    YAML:

TWiki replaces the verbatim tags with pre tags, but retains the class id attributes. So, Morinfo, sees something like:

  <pre class="yaml" id="42">
    This:
      Is:
        -  &#39;some&#39;
      YAML:
  </pre>

Topic revision: r1 - 09 Dec 2007, RichMorin
This site is powered by Foswiki Copyright © by the contributing authors. All material on this wiki is the property of the contributing authors.
Foswiki version v2.1.6, Release Foswiki-2.1.6, Plugin API version 2.4
Ideas, requests, problems regarding CFCL Wiki? Send us email