-
Notifications
You must be signed in to change notification settings - Fork 14
Remove extension on -o option #102
Comments
I've added pull request #106 for this issue. |
Remove extension on -o option #102
@cosminlupu I see you removed extensions matching the output filename in #106 yamp file.md -o newfile.html --pdf I'm not sure if the expected behavior for the user will be to remove the extension ( |
@angrykoala IMO if the output filename doesn't contain the given extension, then the extension should be appended, as what we perceive as an extension, might be wanted as part of the filename. Example: If there is no given extension, but the output filename contains one ( and the it is one used by renderers ), then that should be automatically detected. I guess that is what issue #41 is all about. Example:
|
Makes sense. We could add the |
I agree. Added in pull request #107 |
Nice, some tests may be updated, but for now, the issue is closed |
Remove extension on -o option case insensitive #102
e.g.
yamp readme.md -o readme.pdf
will generate readme.pdf.pdfIt should only be readme.pdf
This issue is related to #41
The text was updated successfully, but these errors were encountered: