
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
xlsx2md-cli
Advanced tools
CLI tool for converting OpenXML spreadsheet documents to Pandoc's markdown grid tables.
A command-line tool for converting OpenXML spreadsheet documents (.xlsx) to Pandoc-compatible Markdown grid tables.
npm install -g xlsx2md-cli
Or install locally:
npm install xlsx2md-cli
xlsx2md [options] [source]
| Argument | Description |
|---|---|
source | Path to an .xlsx file. If omitted, reads from STDIN. |
| Option | Description |
|---|---|
-V, --version | Output the version number |
-v, --verbose | Always write the result to STDOUT. |
--list | List all sheet names in the workbook |
-o, --output-path <FILE> | Write output to a file instead of STDOUT |
-n, --table-name <NAME...> | Specify custom table name(s) for each sheet |
-s, --sheet-name <NAME...> | Specify one or more sheets in the workbook by name. If omitted, the first sheet is used |
-w, --line-width <WIDTH> | Set maximum characters per line. Defaults to terminal width or 72 |
-r, --use-raw-string | Disable string escaping in cell content |
-t, --trim-rows <RANGE...> | Extract only rows within the specified range(s), format: "start[,end]" |
-l, --locale <LOCALE> | Set localization for number/date formatting. Defaults to system locale |
-h, --help | Display help information |
xlsx2md -v -o output.md sample.xlsx
xlsx2md -v -o output.md -s "Sheet1" sample.xlsx
xlsx2md -v -o output.md -s "Sheet1" -s "Sheet2" sample.xlsx
xlsx2md --list sample.xlsx
xlsx2md -o output.md -s "Sheet1" -n "My Table" sample.xlsx
xlsx2md -o output.md -t "1,10" sample.xlsx
Extract rows from 5 to the end:
xlsx2md -o output.md -t "5,0" sample.xlsx
cat sample.xlsx | xlsx2md > output.md
xlsx2md -w 120 -o output.md sample.xlsx
xlsx2md -r -o output.md sample.xlsx
xlsx2md -l "en-US" -o output.md sample.xlsx
The tool generates Pandoc-compatible Markdown grid tables, which can be rendered by Pandoc and other Markdown processors that support grid table syntax.
MIT
FAQs
CLI tool for converting OpenXML spreadsheet documents to Pandoc's markdown grid tables.
We found that xlsx2md-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.