Expose a custom command for opening Markdown files
Open
Nobody has claimed this yet.
area:editor-notebooks
enhancement
triaged
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Discord username (optional)
Integralist
Describe the solution you'd like?
I'd like to be able to run a command like md example.md to view the example.md Markdown in Warp.
Is your feature request related to a problem? Please describe.
There are few frustrations with the feature as it exists today...
- If the file is long (which for me it is most of the time, i.e. the entire file won't fit on my screen), then I won't see the "View in Warp" link until I've finished scrolling the entire file.
- It's an extra step and I also have to reach for my mouse to click the "View in Warp" link.
- I have
cataliased tobat, and so I noticed (see video for context) that if you try and use/bin/catinstead, the link won't show. So I think that Warp is looking for the literalcatin the command prompt (which makes sense as the approach to take, but thought I'd mention it as I still kind of expected/bin/catto work).
Additional context
https://github.com/warpdotdev/Warp/assets/180050/4b81be68-5c29-4421-bb24-6913fa2abe53
How important is this feature to you?
1 (Not too important)
Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is identified in the issue. Start by locating the existing Markdown “View in Warp” handling and the command-parsing entry point, then determine how a command such as md example.md should invoke it. Done means Markdown files can be opened in Warp through the requested custom command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, rust, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100