A CLI tool to convert tables created in Spreadsheet into SVG images.
Render the HTML <table>
element exported from Spreadsheet in the SVG <foreignObject>
element.
This SVG image can be displayed in the <img>
element, keeping the table's border, background color, and other styles.
$ node src/index.js 1WmwoZ0hMDfMvRdbUPHD7NKpz8JJBocy7pfhVWx3sov8 e-san
# ^^^ SheetId ^^^ SheetName
https://docs.google.com/spreadsheets/d/1WmwoZ0hMDfMvRdbUPHD7NKpz8JJBocy7pfhVWx3sov8/edit?usp=sharing (Public)
Here are the SVG images (out/out.svg) generated by this tool.
NOTE: PNG images (out/out.png) are also generated at the same time.
Data source: http:https://www.latex-cmd.com/fig_tab/table01.html
Data source: http:https://www.esan.jp/information/article/お弁当受注販売への切替_スピード『週替り丼』開始