[pmwiki-users] Enhanced (:markup:)

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 9 17:17:46 CST 2006


I've just enhanced the (:markup:) markup:

1.  (:markup:) takes a class= option, which allows an optional
class attribute to be attached to the table.  In particular,
the "class=horiz" option causes the table cells to be
rendered left-to-right instead of top-to-bottom.  Thus

    (:markup class=horiz:) [=
    # This is a numbered list
    =]

produces

    +------------------------------------------------------------+
    | # This is a numbered list    |  1. This is a numbered list |
    +------------------------------------------------------------+

 
2.  (:markup:) also accepts a caption= option, which allows
a caption to be placed on the resulting table.

    (:markup caption='Example list':) [=
    * This is a bullet list
    * So is this
    * So is this
    =]

An example of (:markup:) with captions can be found at
http://www.pmwiki.org/wiki/PmWiki/Tables .

Pm




More information about the pmwiki-users mailing list