Converts CSV content to HTML tables.
This module reads the content of each input document as CSV and outputs an HTML
<table>
tag
containing the CSV content. No <html>
or <body>
tags are output. The input CSV
content must use ,
as separator and enclose every value in "
.
Package
This module exists in the Wyam.Tables package which is not part of the core distribution. Add the following preprocessor directive to your configuration file to use it:
#n Wyam.Tables
Usage
CsvToHtml()
Fluent Methods
Chain these methods together after the constructor to modify behavior.
-
WithHeader()
Treats the first line of input content as a header and generates
<th>
tags in the output table.