jgm / pandocfilters

A python module for writing pandoc filters, with a collection of examples
BSD 3-Clause "New" or "Revised" License
508 stars 115 forks source link

Common Place to store pandoc filter #78

Closed innomadic closed 5 years ago

innomadic commented 5 years ago

Perhaps I am missing something, but it seems like even to use the provided example filters I need to do an absolute path reference to my pip sitepackages or copy the filter into the various places in which we will use it.

Is it possible to "install" a filter and access it no matter from which folder I call it?

jgm commented 5 years ago

Make it executable and put it in your path.

innomadic notifications@github.com writes:

Perhaps I am missing something, but it seems like even to use the provided example filters I need to do an absolute path reference to my pip sitepackages or copy the filter into the various places in which we will use it.

Is it possible to "install" a filter and access it no matter from which folder I call it?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jgm/pandocfilters/issues/78

innomadic commented 5 years ago

@jgm Thanks so much for the pointer. I made a scripts/pandoc folder, chmod u+x on the filter file, and it works.

Thanks for the wonderful tool