php-markdown icon indicating copy to clipboard operation
php-markdown copied to clipboard

Add ID and class attribute support to tables, header rows and data rows

Open kburton opened this issue 11 years ago • 1 comments

Added support for {#id .class} attributes to full tables, header rows and data rows.

kburton avatar Feb 28 '14 17:02 kburton

I've implemented table attribute support for the full table and header and data rows:

Testing | Basic | Table {.table-class}
--------|-------|------ {.th-row-class}
a       | b     | c     {.td-row-class}
d       | e     | f     {.td-row-class-2}

I decided to keep the table attributes alongside the header row for consistency with the previous version. The header row attributes are entered on the underline row.

Feel free to merge whichever of these is most appropriate.

kburton avatar Feb 28 '14 17:02 kburton