TablesTabellen

Definition

Hagen Markdown describe only simple (not nested) tables. But these after all with „caption“ and „th“. You can use unlimited table columns.

Use „««“ to break line, „«««“ to break and clear.

Hagen Markdown kann nur einfache (nicht geschachtelte) Tabellen darstellen. Die aber immerhin mit „caption“ und „th“. Die Anzahl der Tabellespalten ist nicht limitiert.

Benutzen Sie „««“ für einen Zeilenumbruch, „«««“ für einen Umbruch mit „clear“.

SourceQuellcode

In the sourcecode the tables appearing like that:

Im Quellcode sehen die Tabellen folgendermaßen aus:

+- table discription ----------------------------------------
|Markdown|Discription  |Remark      |Tag                    |
+============================================================
| +-     |start table  |first time  |<table>                |
|        |             |            |<caption>...           |
+------------------------------------------------------------
| +-     |start row    |next time   |<tr>...<tr>            |
+------------------------------------------------------------
| +=     |start row    |row was head|<th>...<th>            |
+------------------------------------------------------------
| |      |cellseperator|data        |<td>...<td>            |
+------------------------------------------------------------
| ||     ||column span over 2       |<th colspan="2">       |
+------------------------------------------------------------
||| ||| column span over 3          |<th colspan="3">       |
+------------------------------------------------------------
+- Tabellebeschreibung -------------------------------------
|MarkDown|Beschreibung|Bemerkung   |Tag                    |
+===========================================================
| +-     |Tabelle     |Beim ersten |<table>                |
|        |beginnen    |Mal         |<caption>...           |
+-----------------------------------------------------------
| +-     |Zeile       |Beim zweiten|<tr>...<tr>            |
|        |beginnen    |Mal         |                       |
+-----------------------------------------------------------
| +=     |Zeile       |Zeile war   |<th>...<th>            |
|        |beginnen    |Header      |                       |
+-----------------------------------------------------------
| |      |Trenner     |Normale     |<td>...<td>            |
|        |Zelle       |Zelle       |                       |
+-----------------------------------------------------------
| ||     ||2 Zellen vereinigt      |<th colspan="2">       |
+-----------------------------------------------------------
||| ||| 3 Zellen vereinigt         |<th colspan="3">       |
+-----------------------------------------------------------

And will apear on the webpage like that:

Und erscheinen dann so auf der Webseite:

table discription
MarkdownDiscriptionRemarkTag
+-start tablefirst time<table> <caption>...
+-start rownext time<tr>...<tr>
+=start rowrow was head<th>...<th>
|cellseperatordata<td>...<td>
||column span over 2<th colspan="2">
||| column span over 3<th colspan="3">
Tabellenbeschreibung
MarkDownBeschreibungBemerkungTag
+-Tabelle beginnenBeim ersten Mal<table> <caption>...
+-Zeile beginnenBeim zweiten Mal<tr>...<tr>
+=Zeile beginnenZeile war Header<th>...<th>
|Trenner ZelleNormale Zelle<td>...<td>
||2 Zellen vereinigt<td colspan="2">
||| 3 Zellen vereinigt<td colspan="3">

Head, Body, Footer

With „+(“, „+)[“, „+](“, „+)(“ und „+)“ you can insert <thead>,<tfoot> and <tbody>. In the round brackets stands Head and Body, in the square the Foot.

In the sourcecode this appears like that:

Mit „+(“, „+)[“, „+](“, „+)(“ und „+)“ können <thead>,<tfoot> und <tbody> eingefügt werden. In den runden Klammern stehen Head und Body, in den eckigen der Foot.

Im Quellcode sieht das folgendermaßen aus:

+(- THead, TFoot, TBody ---
| +(-- |Header            |
+)[========================
| +)[--|Footer            |
+](------------------------
| +](--|Body/Footer       |
+--------------------------
| +)(--|Body →            |
+--------------------------
| +)-- |← Body            |
+)-------------------------

And will apear on the webpage like that:

Und erscheinen dann so auf der Webseite:

THead, TFoot, TBody
+(--Header
+)[--Footer
+](--Body/Footer
+)(--Body →
+)--← Body

CSS

<table> class="*css_hagen_md* "=((class1">
<table> class="*css_hagen_md* "=((class1"> <caption> class="*css_hagen_md*">
  <thead> class="*css_hagen_md*">
  <tfoot> class="*css_hagen_md*">
  <tbody> class="*css_hagen_md*">
    <tr> class="*css_hagen_md*">
      <td> class="*css_hagen_md* "=((class1|…|classN]*">
      <th> class="*css_hagen_md* "=((class1|…|classN]*">
        <br> class="*css_hagen_md*">