notZaki / PandocCiter

Visual Studio Code extension for autocompleting citations and cross-references for Pandoc/Markdown documents
https://marketplace.visualstudio.com/items?itemName=notZaki.pandocciter
MIT License
65 stars 9 forks source link

Feature Request: support for .pmd extension #19

Closed DavidSorge closed 3 years ago

DavidSorge commented 3 years ago

This is great; is it possible to set it up so that the program recognizes .pmd files as markdown? .pmd files are a python analog to R-markdown .rmd files, used with pweave (a python analog to knitr).

Being able to use PandocCiter would enable a really nice .pmd-based workflow for creating academic articles.

notZaki commented 3 years ago

That sounds doable.

Are you using any other extension that has pweave support?

DavidSorge commented 3 years ago

At the moment, just this one

I did find an alternate pathway to solving the citation issue through the Citation Picker for Zotero, which meshes with a Zotero extension.

notZaki commented 3 years ago

Yup, the zotero extension is convenient too. It can be less picky about languages because the onus is on the user to activate it with the keyboard shortcut.

I asked about other extensions because if you weren't using anything else, then Ctrl Shift P -> Change Language Mode -> Markdown could've worked. I'll try to get this extension to recognize the pmd language defined by language-weave.

notZaki commented 3 years ago

I tried adding support for Pweave: Markdown files in the latest version (0.8.0). Hopefully it works.

DavidSorge commented 3 years ago

Thanks so much! I'll check it out!

DavidSorge commented 3 years ago

... And it works like a charm! I've never seen a feature request handled this quickly! Much obliged!