jxson / haiku

Another static site generator.
MIT License
9 stars 3 forks source link

MultiMarkdown Support (Tables, Citations, Footers, etc) #63

Open Omarcito opened 11 years ago

Omarcito commented 11 years ago

Would like to see support for MultiMarkdown features to add tables, footnotes, citations, etc.

Example:

|Part|Description|Cost|
|-----|-----|-----|
|TEXT|TEXT|TEXT|
|TEXT|TEXT|TEXT|
|TEXT|TEXT|TEXT|
|TEXT|TEXT|TEXT|

Would compile to:

  <table>
  <colgroup>
  <col style="text-align:left;"/>
  <col style="text-align:left;"/>
  <col style="text-align:left;"/>
  </colgroup>

  <thead>
  <tr>
    <th style="text-align:left;">Part</th>
    <th style="text-align:left;">Description</th>
    <th style="text-align:left;">Cost</th>
  </tr>
  </thead>

  <tbody>
  <tr>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
  </tr>
  <tr>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
  </tr>
  <tr>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
  </tr>
  <tr>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
    <td style="text-align:left;">TEXT</td>
  </tr>
  </tbody>
  </table>