Creating Tables

Tables

In each .plmat file, multiple html tables can be rendered. Each unique table is denoted by a line in-between it and the previous

table

table

Cells

Cells (tr and td) are seperated on each row using a pipe (|)

First Name | Last Name | Email
Scrooge    | McDuck    | number1dime@example.net
Launchpad  | McQuack   | lpad@example.org

Table Headers

Similar to github flavored markdown, header cells are anything in a table located above a line of (in Placemat format) pure hyphens

First Name | Last Name | Email
------------------------------------------------
Scrooge    | McDuck    | number1dime@example.net
Launchpad  | McQuack   | lpad@example.org

Comments

Unlike other table formatting languages Placemat allows for comments.
Comments are either a full line, or in line and begin with a semi-colon (;)

First Name | Last Name | Email
------------------------------------------------
Scrooge    | McDuck    | number1dime@example.net ; inline
; full line comment
Launchpad  | McQuack   | lpad@example.org

Comments will not render in any form in the final generated html

<table>
	<tr> <th >First Name</th><th >Last Name</th><th >Email</th> </tr>
	<tr> <td >Scrooge</td><td >McDuck</td><td >number1dime@example.net</td> </tr>
	<tr> <td >Launchpad</td><td >McQuack</td><td >lpad@example.org</td> </tr>
</table>