jakewvincent / mkdnflow.nvim

Fluent navigation and management of markdown notebooks
GNU General Public License v3.0
654 stars 37 forks source link

Use `bibliography` instead of `bib` for citation configuration #202

Open life00 opened 3 months ago

life00 commented 3 months ago

Hi. I noticed that in YAML configuration bib is used, however the right entry name is bibliography (see https://pandoc.org/MANUAL.html#citation-rendering-1).

This is to avoid unnecessary double entries. If migrating you may set bib as alias for bibliography for backwards compatibility purposes.

Also I really couldn't get the auto detection working. It seems to auto detect in some other path. Maybe it would be better to make it detect in current working directory or in same directory as the current file?

Thanks for such a cool project btw.

life00 commented 3 months ago

Ok I just realized that mkdnflow.nvim does not necessarily aim to follow standards of pandoc, however it would be nice if it would. Again, it is to avoid unnecessary double entries.

life00 commented 3 months ago

Also I really couldn't get the auto detection working. It seems to auto detect in some other path. Maybe it would be better to make it detect in current working directory or in same directory as the current file?

Regarding this, never mind. I was able to get it working with cwd by setting default path in config, but I just had to disable yaml module otherwise it would always error.

jakewvincent commented 2 months ago

Hi @life00, thanks for the request! Though the goal isn't necessarily to follow pandoc standards, I think a change like this would make sense to avoid needing duplicate entries. I can make both bib and bibliography work.