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

Support for multiple file extensions? #75

Closed
TS-CUBED opened this issue Feb 12, 2023 · 2 comments
Closed

Support for multiple file extensions? #75

TS-CUBED opened this issue Feb 12, 2023 · 2 comments

Comments

@TS-CUBED
Copy link

I use Quarto and Markdown notes. Is there a way to extend md-roam-file-extension to support both .md and .qmd extensions? I.e., make it a list?

Well, I know there is ;-) - so the question is will it be a feature in md-roam?

@nobiot
Copy link
Owner

nobiot commented Feb 15, 2023

I will see what I can do...

nobiot added a commit that referenced this issue Mar 1, 2023
If you are using a single extension, this change should not affect
you (that's the default with the value being "md". `md-roam-extension`
can be set as a list of string, wihtout the dot ".". So if you wish to
use multiple extensions, it would be ("md" "qmd").
@nobiot
Copy link
Owner

nobiot commented Mar 1, 2023

Feature added. Let me know how you go.

For those who do not use multiple extensions, there should be no change.

I might have broken something with this change -- I tested both single extension and multiple with a list, and both cases worked on my end. But I had to "fix" something else. As I don't use multiple extensions, I may not have been thorough.

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

2 participants