@@ -0,0 +1,2103 @@
+%0Apackage org.scijava.notebook.converter;%0A%0Apublic class HTMLTableBuilder %7B%0A%0A    /** Returns the style tag used to style HTML tables */%0A    public static String getTableStyle(final boolean displayRowLabel) %7B%0A        String style = %22%3Cstyle%3E%22 +%0A            %22table.converted %7Bcolor: #333; font-family: Helvetica, Arial, sans-serif; border-collapse: collapse; border-spacing: 0;%7D%22 +%0A            %22table.converted td, table.converted th %7Bborder: 1px solid #C9C7C7;%7D%22 +%0A            %22table.converted th, table.converted td.rowLabel %7Bbackground: #626262; color: #FFFFFF; font-weight: bold; text-align: left;%7D%22 +%0A            %22table.converted td %7Btext-align: left;%7D%22 +%0A            %22table.converted tr:nth-child(even) %7Bbackground: #F3F3F3;%7D%22 +%0A            %22table.converted tr:nth-child(odd) %7Bbackground: #FFFFFF;%7D%22 +%0A            %22table.converted tbody tr:hover %7Bbackground: #BDF4B5;%7D%22;%0A%0A        if (!displayRowLabel) style +=%0A            %22table.converted td.rowLabel, table.converted th.rowLabel %7Bdisplay: none;%7D%22;%0A        style += %22%3C/style%3E%22;%0A%0A        return style;%0A    %7D%0A%0A    public static String startTable() %7B%0A        return %22%3Ctable class =%5C%22converted%5C%22%3E%3Cthead%3E%3Ctr%3E%22;%0A    %7D%0A%0A    public static String appendRowLabelHeading() %7B%0A        return %22%3Cth class=%5C%22rowLabel%5C%22%3E&nbsp;%3C/th%3E%22;%0A    %7D%0A%0A    public static String appendHeadings(final String data,%0A        final boolean end)%0A    %7B%0A        final String html = %22%3Cth%3E%22 + data + %22%3C/th%3E%22;%0A        if (end) return html + %22%3C/tr%3E%3C/thead%3E%3Ctbody%3E%22;%0A        return html;%0A    %7D%0A%0A    public static String appendData(final String data,%0A        final boolean start, final boolean end)%0A    %7B%0A        String html = %22%22;%0A        if (start) html += %22%3Ctr%3E%22;%0A        html += %22%3Ctd%3E%22 + data + %22%3C/td%3E%22;%0A        if (end) html += %22%3C/tr%3E%22;%0A        return html;%0A    %7D%0A%0A    public static String appendRowLabelData(final String data) %7B%0A        String html = %22%3Ctr%3E%3Ctd class =%5C%22rowLabel%5C%22%3E%22;%0A%0A        if (data == null) html += %22&nbsp;%22;%0A        else html += data;%0A%0A        html += %22%3C/td%3E%22;%0A        return html;%0A    %7D%0A%0A    public static String endTable() %7B%0A        return %22%3C/tbody%3E%3C/table%3E%22;%0A    %7D%0A%7D%0A

Add utiltiy class for making HTML tables