"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/1881.md" (4 Apr 2022, 3933 Bytes) of package /linux/www/pandoc-2.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) GitHub Flavored Markdown source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ```
    2 % pandoc -f html -t native
    3 <table>
    4 <caption>Demonstration of simple table syntax.</caption>
    5 <thead>
    6 <tr class="header">
    7 <th align="right">Right</th>
    8 <th align="left">Left</th>
    9 <th align="center">Center</th>
   10 <th>Default</th>
   11 </tr>
   12 </thead>
   13 <tbody>
   14 <tr class="odd">
   15 <td align="right">12</td>
   16 <td align="left">12</td>
   17 <td align="center">12</td>
   18 <td>12</td>
   19 </tr>
   20 </tbody>
   21 </table>
   22 ^D
   23 [ Table
   24     ( "" , [] , [] )
   25     (Caption
   26        Nothing
   27        [ Plain
   28            [ Str "Demonstration"
   29            , Space
   30            , Str "of"
   31            , Space
   32            , Str "simple"
   33            , Space
   34            , Str "table"
   35            , Space
   36            , Str "syntax."
   37            ]
   38        ])
   39     [ ( AlignRight , ColWidthDefault )
   40     , ( AlignLeft , ColWidthDefault )
   41     , ( AlignCenter , ColWidthDefault )
   42     , ( AlignDefault , ColWidthDefault )
   43     ]
   44     (TableHead
   45        ( "" , [] , [] )
   46        [ Row
   47            ( "" , [ "header" ] , [] )
   48            [ Cell
   49                ( "" , [] , [] )
   50                AlignRight
   51                (RowSpan 1)
   52                (ColSpan 1)
   53                [ Plain [ Str "Right" ] ]
   54            , Cell
   55                ( "" , [] , [] )
   56                AlignLeft
   57                (RowSpan 1)
   58                (ColSpan 1)
   59                [ Plain [ Str "Left" ] ]
   60            , Cell
   61                ( "" , [] , [] )
   62                AlignCenter
   63                (RowSpan 1)
   64                (ColSpan 1)
   65                [ Plain [ Str "Center" ] ]
   66            , Cell
   67                ( "" , [] , [] )
   68                AlignDefault
   69                (RowSpan 1)
   70                (ColSpan 1)
   71                [ Plain [ Str "Default" ] ]
   72            ]
   73        ])
   74     [ TableBody
   75         ( "" , [] , [] )
   76         (RowHeadColumns 0)
   77         []
   78         [ Row
   79             ( "" , [ "odd" ] , [] )
   80             [ Cell
   81                 ( "" , [] , [] )
   82                 AlignRight
   83                 (RowSpan 1)
   84                 (ColSpan 1)
   85                 [ Plain [ Str "12" ] ]
   86             , Cell
   87                 ( "" , [] , [] )
   88                 AlignLeft
   89                 (RowSpan 1)
   90                 (ColSpan 1)
   91                 [ Plain [ Str "12" ] ]
   92             , Cell
   93                 ( "" , [] , [] )
   94                 AlignCenter
   95                 (RowSpan 1)
   96                 (ColSpan 1)
   97                 [ Plain [ Str "12" ] ]
   98             , Cell
   99                 ( "" , [] , [] )
  100                 AlignDefault
  101                 (RowSpan 1)
  102                 (ColSpan 1)
  103                 [ Plain [ Str "12" ] ]
  104             ]
  105         ]
  106     ]
  107     (TableFoot ( "" , [] , [] ) [])
  108 ]
  109 ```
  110 
  111 ```
  112 % pandoc -f html -t native
  113 <table>
  114 <tr class="odd">
  115 <td style="text-align: right;">12</td>
  116 <td style="text-align:left;">12</td>
  117 <td style="text-align:  center">12</td>
  118 <td style="text-align: right;">12</td>
  119 </tr>
  120 </table>
  121 ^D
  122 [ Table
  123     ( "" , [] , [] )
  124     (Caption Nothing [])
  125     [ ( AlignRight , ColWidthDefault )
  126     , ( AlignLeft , ColWidthDefault )
  127     , ( AlignCenter , ColWidthDefault )
  128     , ( AlignRight , ColWidthDefault )
  129     ]
  130     (TableHead ( "" , [] , [] ) [])
  131     [ TableBody
  132         ( "" , [] , [] )
  133         (RowHeadColumns 0)
  134         []
  135         [ Row
  136             ( "" , [ "odd" ] , [] )
  137             [ Cell
  138                 ( "" , [] , [] )
  139                 AlignRight
  140                 (RowSpan 1)
  141                 (ColSpan 1)
  142                 [ Plain [ Str "12" ] ]
  143             , Cell
  144                 ( "" , [] , [] )
  145                 AlignLeft
  146                 (RowSpan 1)
  147                 (ColSpan 1)
  148                 [ Plain [ Str "12" ] ]
  149             , Cell
  150                 ( "" , [] , [] )
  151                 AlignCenter
  152                 (RowSpan 1)
  153                 (ColSpan 1)
  154                 [ Plain [ Str "12" ] ]
  155             , Cell
  156                 ( "" , [] , [] )
  157                 AlignRight
  158                 (RowSpan 1)
  159                 (ColSpan 1)
  160                 [ Plain [ Str "12" ] ]
  161             ]
  162         ]
  163     ]
  164     (TableFoot ( "" , [] , [] ) [])
  165 ]
  166 ```
  167