node-html-to-text
node-html-to-text copied to clipboard
use tabs for formatting HTML tables
Is there a way to set HtmlToText to output tab characters to separate html table cells instead of making fixed width columns?
No currently not.
Is there a way to have a fixed width per column on the <td> tag then align text to the right. Currently i'm using the package to produce a tabular view for the product list for receipt printing with esc-pos-encoder and it is working fine but the problem is that the width of the column is not fixed and the expedted result on the printed receipt was not met and it should also align the price value to the right side.
If anyone have a solution for this please let me know. Thank you