jonmagic / copy-excel-paste-markdown Goto Github PK
View Code? Open in Web Editor NEWCopy a table in Excel (or other spreadsheet programs) and paste it as a Markdown table
License: MIT License
Copy a table in Excel (or other spreadsheet programs) and paste it as a Markdown table
License: MIT License
For example
Something | With external link |
---|---|
Something | Cannot be empty |
When "With external link" has a link, then the tool doesn't work
Stray row.map
here:
copy-excel-paste-markdown/script.js
Line 56 in 5a52f3a
Should this regex actually be /[\u0085\u2028\u2029]|[\r\n?]/g
?
copy-excel-paste-markdown/script.js
Line 23 in 5a52f3a
This table works:
And produces this:
1 | 2 | 3 |
---|---|---|
3 | 4 | 5 |
6 | 7 | 8 |
But this one doesn't:
It gives this in the console:
script.js:2 3
script.js:24 3 4 5
script.js:24 6 7 8
script.js:37 Uncaught RangeError: Invalid array length
at script.js:37
at Array.map (<anonymous>)
at script.js:36
at Array.map (<anonymous>)
at HTMLTextAreaElement.<anonymous> (script.js:30)
For example,
Something | |
---|---|
Something | Something |
When the first cell is blank, then the tool doesn't work.
Could be very helpful if it's deployed to GitHub Pages as a pretty simple online tool ;)
even the screen is enough,the table also not use it and you need scroll it.
GBK character show replaced with "???" when it pasted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.