- Add @vitest/coverage-v8, test:coverage script, vitest.config.ts
- Extract looksLikeTable to src/detect.ts so it is testable without
pulling the obsidian runtime
- Add edge-case tests for parser, formatter, convert, and detect
(23 -> 38 tests; line coverage 100% on every file except main.ts)
- Run coverage in CI and append the line % to the step summary
Tests previously ran only locally, so a regression could land on main
or in a PR unnoticed. Add a GitHub Actions workflow running the build
(tsc type-check) and Vitest suite on every push to main and every PR.
Group physical data lines into logical rows by border lines so word-wrapped cells merge instead of producing empty rows. Expand the selection to whole lines before replacing so the converted table is inserted flush-left.
Previously the command silently no-oped when run on a non-table
selection. Use editorCheckCallback so the entry is grayed out in the
palette unless the selection contains table-like characters, matching
the existing right-click menu behavior.
Capture the version-bump, tag, and GitHub release flow in the README
so the steps don't have to be reconstructed from memory at each
release. The exact-match tag rule is the easiest gotcha to forget.
Parses ASCII (+/-/|) and Unicode (┌─┬─┐│├┼┤└┴┘) table formats
from CLI tool output and converts them to properly formatted
Markdown pipe tables. Identifier-like cell values are auto-wrapped
in backticks.
Available via right-click context menu and command palette.