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

Scan markdown files with alternative file extensions (.qmd, .markdown) #3117

Open
zackbatist opened this issue Dec 24, 2024 · 0 comments
Open

Comments

@zackbatist
Copy link

Debug log ID

3YX6BH8R-refs-euc/6.7.263-7

What happened?

When scanning markdown files for references, it is possible to select files ending with .markdown but it will throw an error

AUX/Markdown scan failed: Unsupported file type for <<redacted-path>>/file.markdown

Moreover, it is impossible to select files ending with .qmd in the file selection screen. Are there any plans to support quarto markdown or other markdown variants (e.g. .Rmd) when scanning for references?

Additionally (and I can open another issue for this if you'd like), I wonder if it would be possible to make scanning markdown for references scriptable, which would bring it closer to parity with scanning aux files (as per #1477). I tried to run the example in the docs but substituting the aux for a md file:

curl http://localhost:23119/better-bibtex/json-rpc -X POST -H "Content-Type: application/json" -H "Accept: application/json" --data-binary '{"jsonrpc": "2.0", "method": "collection.scanAUX", "params": ["/My Library/x", "<<redacted-path>>/file.md"] }'

but I get the following error in a zotero-styled popup window, which references the location of my pandoc binary:

pandoc parsing error Error: /opt/homebrew/bin/pandoc failed
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