console-to-email-table
v1.0.0
Published
Convert terminal box-drawing / markdown tables into rich HTML tables you can paste into an email.
Readme
Console → Email Table
A small Electron app that converts terminal box-drawing tables (the kind Claude and other CLIs print) and markdown tables into a clean, inline-styled HTML table you can paste straight into an email (Gmail, Outlook, Apple Mail).
Why
Box-drawing tables look great in a monospace terminal but turn into garbage when
pasted into an email. This app parses the table and copies a real <table> to
your clipboard with inline styles, so the formatting survives the paste.
Supported input
- Box-drawing tables —
┌─┬┐ │ ├┼┤ └┴┘style. - Markdown tables — pipe-delimited with a
|---|---|separator row.
Usage
npm install
npm start- Paste your table into the left pane.
- Check the live preview on the right.
- Click Copy table (or press ⌘/Ctrl+Enter) and paste into your email.
Toggle First row is header if your table has no header row.
How it works
parser.js— normalizes either input style into{ rows, hasHeader }.renderer.js— builds the inline-styled HTML and drives the UI.preload.js— writes both HTML and plain-text flavors to the clipboard via Electron'sclipboard.write, so rich and plain paste targets both work.
