DashTable
DashTable copied to clipboard
Convert an HTML table into an ASCII table: Colspan and Rowspan allowed!
code ``` import dashtable if __name__ == '__main__': # print(html_to_markdown(''' # print(dashtable.html2md(''' # print(dashtable.html2data(''' print(dashtable.html2rst(''' データ定額440プラン ビタッ!プラン 自由自在プラン Rakuten最強プラン ahamo LINEMO povo2.0 データ データ 音声通話 データ SMS 音声通話 データ SMS...
Using any colors, either via colorit, click.style or even via term escape sequences directly, in the cell text will break alignment of the cell.
must be dependency bs4 dashtable.html2data.restructify.restructify.py may be put import at restructify function inside?
Hi Thank you for this great tool. I tried to use the html2rst/htm2md functions but I think I met an issue. I have got an html table which looks like...
Found a bug while working with `data2rst` and `grid2data` functions. Given a table like this: ``` +-----+--------+-------+ | 0,0 | 0,1 | 0,2 | +=====+========+=======+ | 1,0 | 1,1 |...
Fixes problems with cell alignment for CJK text within RST tables. Includes a test case, and updates `setup.py` to include `wcwidth` as a dependency.