grip icon indicating copy to clipboard operation
grip copied to clipboard

[Feature request] Provide rendering for any file when it's the only markdown file of the specified directory

Open teobais opened this issue 6 years ago • 1 comments

I know, it's a bit unclear, so, let me get it straight.

Currently, grip runs only for files named as README.md or if you wanna specify the specific file name you want to render, you have to provide an extra argument, like grip test.md.

However, wouldn't it be nice if we could extend it, so that it also renders a markdown file, when it is the only markdown file in its directory?

Example: /path/to/my/project |-- hello.js |-- hello.css |-- me.jpg |-- test.md

Shouldn't we also let the user directly render the test.md by just running grip under /path/to/my/project directory, instead of forcing him to explicitly run grip test.md?

teobais avatar Sep 02 '17 10:09 teobais

+1 I actually was about to raise this issue and have seen this has been lying around for a year now, @joeyespo are PR'S welcome for this request or would is too special that it breaks the norm?

vsag96 avatar Dec 12 '18 07:12 vsag96