question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow adding arbitrary arguments to the pandoc invocation (for basic citation support)

See original GitHub issue

Relates to #21 - this is a quick intermediate fix to support citations, at the cost of being slightly less user friendly (docs can help though).

The idea is there should be a setting where you can add stuff like this to the command (from SkepticMystic):

--citeproc --csl "https://raw.githubusercontent.com/citation-style-language/styles/master/apa.csl" 
--bibliography "Zotero Exports\My Library.json" 
--reference-doc="Pandoc\Templates\APA7.docx" 

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
OliverBalfourcommented, Jun 26, 2021

FYI @tim-hilde @mafsi I’ve added some documentation about getting citations working here (I actually tested it this time!): https://github.com/OliverBalfour/obsidian-pandoc/wiki/Citations-(work-in-progress) It’s a little fiddly at this stage but it works for now

1reaction
mafsicommented, Jun 24, 2021

Yes, it is. The issue is that the citation syntax works if you use a markdown input to Pandoc, but my plugin uses an HTML input. I’ve added an option to use a markdown input which should make citations work but will break non-standard markdown syntax from eg DataView

Yeah, the problem with Obsidian Plugins is that they are far from standard. I like to keep as close to standard as possible for the time when I will switch from Obsidian to other editor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pandoc User's Guide
Pandoc's enhanced version of Markdown includes syntax for tables, definition lists, metadata blocks, footnotes, citations, math, and much more.
Read more >
Pandoc modified manual - wiki
To enable bash completion with pandoc, add this to your .bashrc : ... allow identification of basic aspects of the document.
Read more >
Pandoc Markdown - Data Science with R
Turn your analyses into high quality documents, reports, presentations and dashboards with R Markdown. Use a productive notebook interface to weave together ...
Read more >
Changelog for pandoc-2.11 | Hackage - Haskell.org
Add --citeproc ( -C ) option to trigger built-in citation processing. It is no longer necessary to use the external pandoc-citeproc filter. --citeproc...
Read more >
Why all you'll ever need is Markdown | by Johan Hidding
However, Pandoc supports many extensions and flavours of Markdown ... Basic citation looks like [@Hidding2014] , where Hidding2014 is an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found