[MKDoc-modules] MKDoc::Text::Structured 0.5 released

Jean-Michel Hiver jhiver at mkdoc.com
Sun Jul 11 18:16:36 BST 2004


Hi Folks,

Hi have released a brand new version of MKDoc::Text::Structured, the 
no-frills, no-nonsense text-to-html module.

First one thing that I have removed: /emphasis/ is now only _emphasis_ 
because we don't really want /var/log/ to be emphasized.

Now it is possible to nest lists properly but also to have any kind of 
block level element withing lists. So you can have:

   * First List Item
     ===============

     This is a paragraph in the first list item.

     1. And there's
     2. An ordered
     3. List

   * Second List Item
     ================

     There's another paragraph.

       Some pre-formatted text
       Goes here

     > > And some quoted text
     > > Goes here
     > It's very cool.
     >   And this is quoted AND
     >   pre-formatted.

   * Also, heading can now also
     span on multiple lines
     when *required*.
     ===========================

     It's Da Bomb :-)


 From this text, the module fiercely produces:

   <ul><li><h2>First List Item</h2>
   <p>This is a paragraph in the first list item.</p>
   <ol><li><p>And there's</p></li>
   <li><p>An ordered</p></li>
   <li><p>List</p></li></ol></li>
   <li><h2>Second List Item</h2>
   <p>There's another paragraph.</p>
   <pre>Some pre-formatted text
   Goes here</pre>
   <blockquote><blockquote><p>And some quoted text
   Goes here</p></blockquote>
   <p>It's very cool.</p>
   <pre>And this is quoted AND
   pre-formatted.</pre></blockquote></li>
   <li><h2>Also, heading can now also
   span on multiple lines
   when <strong>required</strong>.</h2>
   <p>It's Da Bomb :-)</p></li></ul>


I'm happy with the new back-end parser, which is IMHO much much much 
neater than the other modules I've come across so far.

So... there. Enjoy!


More information about the MKDoc-modules mailing list