Excel raw table to markdown converter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
image
.gitignore
LICENSE
README.md
index.php
octocat.tmpl
script.js

README.md

banner

marknotes_xls2md

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