davidar / pandiff

Prose diffs for any document format supported by Pandoc
MIT License
293 stars 24 forks source link

Get table as html in default markdown + CriticMarkup output #21

Open IpShot opened 3 years ago

IpShot commented 3 years ago

Used default pandiff output with atx-headers and wrap: preserve options.

Input: ## Data Protection Principles\n\n* We identify Non-public data and label it as such\n* We put in place reasonable and appropriate safeguards to protect you, corruption, and modification to data\n* We limit PII collection, sharing, disclosure, and use to business need\n* Yes\n\nSystem | Tolerable outage (RTO) | Tolerable data loss (RPO)\n-- | -- | --\nApplication | 24 hours | 24 hours\nNetwork | 24 Hours | 24 hours\n\n

Output: ## Data Protection Principles\\n\\n- We identify Non-public data and label it as such\\n- We put in place reasonable and appropriate safeguards to protect you, corruption, and modification to data\\n- We limit PII collection, sharing, disclosure, and use to business need\\n- Yes\\n\\n<table>\\n<thead>\\n<tr class=\\\"header\\\">\\n<th>\\nSystem\\n</th>\\n<th>\\nTolerable outage (RTO)\\n</th>\\n<th>\\nTolerable data loss (RPO)\\n</th>\\n</tr>\\n</thead>\\n<tbody>\\n<tr class=\\\"odd\\\">\\n<td>\\nApplication\\n</td>\\n<td>\\n24 hours\\n</td>\\n<td>\\n24 hours\\n</td>\\n</tr>\\n<tr class=\\\"even\\\">\\n<td>\\nNetwork\\n</td>\\n<td>\\n24 Hours\\n</td>\\n<td>\\n24 hours\\n</td>\\n</tr>\\n</tbody>\\n</table>\\n