Commit graph

12 commits

Author SHA1 Message Date
Vesa Vänskä
ebdfadc0b7
ci: run tests and build on main pushes and PRs
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.
2026-05-20 13:12:25 +03:00
Vesa Vänskä
2c00b5faf6
Merge pull request #1 from vesan/fix/multiline-and-indentation
fix: merge multiline cells and strip leftover indentation
2026-05-20 13:05:55 +03:00
Vesa Vänskä
a4370e95d1
fix: merge multiline cells and strip leftover indentation
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.
2026-05-20 13:04:08 +03:00
Vesa Vänskä
65f7894fab
fix: drop unused async on Plugin.onload
Obsidian review bot flagged that `onload` was declared async without
any await. Removing async keeps the method's return type accurate.

Comment: https://github.com/obsidianmd/obsidian-releases/pull/12327#issuecomment-4322720127
2026-04-28 14:36:37 +03:00
Vesa Vänskä
5f0cde652c
chore: Add dot to the end of manifest desciption (mandatory) 2026-04-26 19:48:51 +03:00
Vesa Vänskä
69770a0a12
chore: release 1.0.1 2026-04-26 19:40:43 +03:00
Vesa Vänskä
5d3d9a25c8
fix: gate command palette entry behind table detection
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.
2026-04-26 19:40:04 +03:00
Vesa Vänskä
748c7a533f
docs: document release process
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.
2026-04-26 19:34:06 +03:00
Vesa Vänskä
c2c73049bd
chore: prepare 1.0.0 release
- Add MIT LICENSE
- Bump minAppVersion to 1.4.0 (matches what was tested)
- Drop trailing period in description (Obsidian style guide)
2026-04-26 19:19:16 +03:00
Vesa Vänskä
62f5950774
docs: add README 2026-04-26 19:16:32 +03:00
Vesa Vänskä
446f321deb
docs(parser): clarify why delimiter detection is needed
Unicode │ (U+2502) and ASCII | are different bytes, so splitting
on the wrong one produces no split at all.
2026-04-26 19:16:32 +03:00
Vesa Vänskä
2503c08863
feat: Obsidian plugin to convert box-drawing tables to Markdown
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.
2026-04-26 19:16:31 +03:00