Markaya

 view release on metacpan or  search on metacpan

doc/Spec  view on Meta::CPAN

    - h1: Markaya Spec
    - h2: Description
    - p:
        Markaya is a YAML-based text-to-html conversion convention,
        Similar to Textile, but using YAML as its syntax. Any Markaya
        document is also a valid YAML document.
    
    - p: >
        The major goal of Markaya is to provide a full one-to-one mapping
        convention between YAML and XHTML. There are lot of ways to
        conver between a YAML document, and an XHTML document. Markaya
        syntax is also optimized for human, instead of machines, to
        read or to write Markaya documents. Balance between the fact
        that XHTML are too verbose to write, and syntax errors happens
        very easily. For example, here's a simple Markaya document:
    
    - pre: |
        html:
          - head:
            - title: Markaya Example
          - body:
            - h1: Hello World
            - p: This is an example
  

doc/Spec  view on Meta::CPAN

        - p: 
          - Hello, 
          - a href="http://who.int": World
          - . It's a beautiful day.

    - p:
        All string literals in a Markaya document are shown literaly
        when compiled to HTML. Which implies that no inline HTML
        is allowed.

    - h2: Mapping XHTML Tags
  
    - p: >
        Simple XHTML Tags are mapped to a key-value pair in a sequence. For example:
    
    - pre: |
        <p>Niaho</p>
    
    - p:
        Is mapped to  
    
    - pre: |
        - p: Nihao



( run in 1.138 second using v1.01-cache-2.11-cpan-49f99fa48dc )