Skip to content

Instantly share code, notes, and snippets.

View atanasj's full-sized avatar

atanas atanasj

View GitHub Profile
@atanasj
atanasj / reftex-markdown.el
Created February 15, 2020 13:23 — forked from kleinschmidt/reftex-markdown.el
Insert markdown (pandoc-citeproc) formatted citations using RefTeX
;; reftex in markdown mode
;; if this isn't already set in your .emacs
(setq reftex-default-bibliography '("/path/to/library.bib"))
;; define markdown citation formats
(defvar markdown-cite-format)
(setq markdown-cite-format
'(
(?\C-m . "[@%l]")