Skip to content

Conversation

@k-narusawa
Copy link

@k-narusawa k-narusawa commented Jan 10, 2026

Description

CSV to Markdown Table is a bidirectional converter that allows users to quickly convert between CSV/TSV and Markdown table formats using clipboard operations.

Features

  • 3 conversion commands: CSV/TSV → Markdown, Markdown → CSV, Markdown → TSV
  • Automatic format detection: Detects whether clipboard contains CSV, TSV, or Markdown table
  • One-command operation: Simple clipboard-based workflow with visual feedback

Use Cases

  • Converting spreadsheet data to Markdown for documentation (GitHub README, Notion, etc.)
  • Converting Markdown tables back to CSV/TSV for spreadsheet applications
  • Quick data format transformation without leaving Raycast

Example

CSV → Markdown:

Input:  name,age,city
        John,30,Tokyo

Output: | name | age | city |
        | --- | --- | --- |
        | John | 30 | Tokyo |

Markdown → CSV:

Input:  | name | age |
        | --- | --- |
        | John | 30 |

Output: name,age
        John,30

Screencast

[Add screenshots/screencast here]

Checklist

- refactor: 💡 エラー時のHUDの表示を修正
- docs: ✏️ readme記載
- feat: 🎸 markdown→csv&tsv
- docs: ✏️ 公開準備
- docs: ✏️ 説明とかアイコンとか見直し
- feat: 🎸 csv,tsv→markdownの機能を作成
- init
- Initial commit
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

Due to our current reduced availability, the initial review may take up to 10-15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@k-narusawa k-narusawa marked this pull request as ready for review January 10, 2026 11:47
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 10, 2026

Greptile Overview

Greptile Summary

Adds a new Raycast extension for bidirectional conversion between CSV/TSV and Markdown table formats using clipboard operations. The extension provides three no-view commands that automatically detect input format and convert data between CSV, TSV, and Markdown tables. Implementation includes format detection logic, conversion utilities with unit tests, and proper error handling for invalid clipboard data.

Confidence Score: 2/5

  • Moderate risk due to unhandled edge cases with special characters that will cause data corruption
  • The extension has a critical data integrity issue: CSV/TSV cells containing pipe characters (|) will break Markdown table formatting, creating malformed output with incorrect column counts. While this won't cause runtime crashes, it will produce incorrect results for common real-world data. The test coverage also lacks validation of the reverse conversion function and edge cases with special characters. These issues affect core functionality and should be addressed before merge.
  • extensions/csv-to-markdown-table/src/util/converter.ts needs special character escaping logic

Important Files Changed

File Analysis

Filename Score Overview
extensions/csv-to-markdown-table/src/util/converter.ts 2/5 Implements CSV/TSV to Markdown conversion; missing escape handling for pipes and special characters in cell values
extensions/csv-to-markdown-table/src/util/converter.test.ts 3/5 Tests CSV/TSV to Markdown conversion; missing tests for reverse conversion and edge cases with special characters

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

- Merge pull request raycast#1 from k-narusawa/copilot/fix-pipe-character-escaping
- Implement pipe character escaping and comprehensive test coverage
- Initial plan
- fix: 🐛 lint
- refactor: 💡 japanese→english
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants