-
Notifications
You must be signed in to change notification settings - Fork 10
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
Display of the citations in the markdown doc. #14
Comments
Thanks for the suggestion. Since I'm not familiar with multimarkdown, I will list what I think would have to be changed to support mmd, and you can correct me where I'm wrong:
|
Hi @notZaki ! Yes actually I guess the point n. 2 is the most important ! Hope you can have a look sometime ! This would be an amazing add on. How do you deal with bibliography display at the moment ? |
The current method to display bibliographies is through pandoc-citeproc. Some examples are also mentioned in demo 24 here. The advantages of pandoc-citeproc is that it can format the citations, e.g. displaying it as If you think point n.2 is still a useful feature, then I can try forking a separate extension for printing the bibliography at the end of the file. |
@notZaki Hi yes still very much interested by feature n.2. :) |
Thank for your efforts...
|
I have the same issue, and maybe it's a silly question... @notZaki thank you for the add-on, the "@" citation recognition works well, but I have the same series of questions as above./ How would I use pandoc-citeproc currently to render citations in VSCode? I'm using dendron + pandoc-citer in VSCode and I have the following dummy note "I like this article @bazerman_want_nodate". When I type @ it correctly recognises the citation library, but it still shows "I like this article @bazerman_want_nodate" in the preview. What am I doing wrong? I think, I would love the n.2 as per the above list—but failing that, what obvious part am I missing to have a functional work-around now? Thanks! |
@aiva005 Although I don't use it, I believe markdown preview enhanced has a There might be other extensions that also support citeproc in their previews that I just don't know about. @SR-- |
Thanks! I have followed the threads as far as I could've taken them: this is the latest: shd101wyy/vscode-markdown-preview-enhanced#432 (comment) I only get a partial positive result: at least I don't get any weird warnings anymore, but (!) it does NOT seem to recognise the Interestingly enough, your citation look-up extension recognises the library correctly, but pandoc-citer does NOT, haha! I'm stumped... @notZaki question: how do you make it work? Or, do you? |
@aiva005 I don't use vscode for previews in my workflow. For smaller projects, I just run pandoc directly and review the html/pdf/docx output. Larger projects require better support for equations and cross-references, so I use bookdown for previewing and final output(s). This requires more work to set up since R has to be installed, but it suits me because I usually have to install R anyways for other reasons. |
Hi, @notZaki I also eager for such function to be realized. Just like markdown preview enhanced does. Furthermore, if we can define a setting or a hotkey, like shift. Once shiftKey being pressed while inserting the inline citation, footnote style mark( |
This video really helps a lot.
After the steps above, you will get reference list at the bottom of the preview. |
Hi @notZaki !
Thanks for this nice plugin !
Would it be possible to dispaly citation as a footer after the .bib fetching ?
Just like with this Sublime plugin https://github.com/renerocksai/sublime_zk#location-of-your-bib-file (also uses Pandoc)
Thanks a lot !
PM
The text was updated successfully, but these errors were encountered: