Skip to content

feat: add markdown table generator#1807

Open
SSDWGG wants to merge 2 commits into
CorentinTh:mainfrom
SSDWGG:codex/markdown-table-generator-542
Open

feat: add markdown table generator#1807
SSDWGG wants to merge 2 commits into
CorentinTh:mainfrom
SSDWGG:codex/markdown-table-generator-542

Conversation

@SSDWGG
Copy link
Copy Markdown

@SSDWGG SSDWGG commented May 30, 2026

What changed

Adds a new Markdown Table Generator tool for building GitHub-flavored Markdown tables from a visual editor.

  • registers /markdown-table-generator in the Development tools list
  • supports editable headers, cells, row/column add/remove actions, and per-column alignment
  • escapes | characters and converts multiline cells to <br> so generated tables stay valid
  • adds unit coverage for table creation, escaping, alignment output, and uneven row padding

Closes #542

Validation

  • pnpm vitest run src/tools/markdown-table-generator/markdown-table-generator.service.test.ts
  • pnpm typecheck
  • pnpm lint (passes with existing UnoCSS warnings in unrelated files)
  • pnpm build
  • local UI smoke test at /markdown-table-generator: edited headers/cells and verified the generated Markdown output updates, including pipe escaping and multiline cell handling

Screenshots

Validated locally in desktop and mobile viewports.

@sonarqubecloud
Copy link
Copy Markdown

@SSDWGG
Copy link
Copy Markdown
Author

SSDWGG commented May 30, 2026

I fixed the Sonar reliability issues by adding scope="col" to the generated table header cells. Local verification after the update: pnpm vitest run src/tools/markdown-table-generator/markdown-table-generator.service.test.ts passed, pnpm typecheck passed, and pnpm lint passed with only the existing unrelated UnoCSS ordering warnings. The remaining E2E failure appears to be Playwright dependency installation on the GitHub runner (libasound2, libffi7, and libx264-163 unavailable on Ubuntu 24.04), not a failure in this tool code.

@SSDWGG SSDWGG marked this pull request as ready for review May 30, 2026 09:32
@sharevb
Copy link
Copy Markdown
Contributor

sharevb commented May 30, 2026

Hi @SSDWGG , if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

Feel free to open a PR in my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NEW TOOL] Markdown table generator

2 participants