Skip to content

Excel raw table to markdown converter

License

Notifications You must be signed in to change notification settings

cavo789/marknotes_xls2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marknotes_xls2md

banner

Excel raw table to markdown converter.

Simply copy, from Excel, a table and paste here to convert table to markdown.

How to use

In Excel, select your table (f.i. the range $A$1:$J:$50), press CTRL+C and paste the clipboard in the textarea (press CTRL+V) to get the markdown rendering.

demo.gif

Source

The javascript has been written by Jonathan Hoyt and available on GitHub: https://github.com/jonmagic/copy-excel-paste-markdown.

Updated to:

  • Add a space character before - in the separator line
  • Add a space character before and after the | value separator
  • Call marked.js (https://www.npmjs.com/package/marked) to render the table from markdown to html
  • Add bootstrap class to the rendered table