While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

CsvToHtml Wyam.Tables

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 ".


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


  • 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.