iamcco / iamcco/markdown-preview.nvim

Feature request: citations like pandoc --citeproc

Open
#353 4 comments 5 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

This is a really great plugin. I love it.

I was hoping it would be able to replace my note-taking workflow which involves writing in pandoc markdown.
When editing pandoc markdown files, it sure would be nice to have the ability to use citations from a biblatex file, so that when notes become papers it is easy to organize a bibliography.

Like say I'm editing my file `myfile.md`, which is

```markdown
---
title: My Title
bibliography: myfile.bib
reference-section-title: References
---

# Heading
Take a look at this citation: @blachman68.
```
and that I have a file `myfile.bib` which is a biblatex file with an entry whose key is `blachman68`, then running pandoc like
`pandoc --citeproc log.md -o log.html` I get an HTML file with citations, like this:

> ### My Title
> Take a look at this citation: Blachman (1968).
>
> #### References
> Blachman, N. 1968. “The Amount of Information That y Gives about x.” _IEEE Transactions on Information Theory_ 14 (1): 27–31.

I wonder whether there is an easy way to integrate this into the plugin. Would it be possible to get it to behave like that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.