Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Note with custom name are saved without .md extension #62

Open
defending1 opened this issue Sep 10, 2024 · 0 comments
Open

Bug: Note with custom name are saved without .md extension #62

defending1 opened this issue Sep 10, 2024 · 0 comments

Comments

@defending1
Copy link

defending1 commented Sep 10, 2024

Expected behavior:
When a new note with custom name is created, the note filename is created without .md extension
Nor example if I type: notekeeper -n mynote, the file in the notes directory is mynote and I expected to be mynote.md, (it's a minor thing but it breaks the syntax highlighting in the editor).
Current behavior:
~/ note -n mynote
Created new note: /home/laptop/notes/mynote
Opening note: /home/laptop/notes/mynote

~/ note -n mynote.md
Created new note: /home/laptop/notes/mynote.md
Opening note: /home/laptop/notes/mynote.md

If this is wanted I'll close the issue. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant