paste-table
v1.1.1
Published
totable ===
Downloads
2
Readme
totable
Installation
npm i totable
Usage
var PasteTable = require('paste-table')
PasteTable.onpaste(element, function(err, table) {
if (!err) {
var markdown = table.markdown()
console.log(markdown)
}
})
| paste-table
need jQuery
UI
transfer table format
.markdown()
return GFM table markdown text string.element()
return table element.console()
useconsole.table
to print table in console.html()
return raw html text.json()
return inside table value by json object.confluence()
return confluence wiki markup