Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Add custom modules? #42

Open
ssteinerx opened this issue Apr 26, 2017 · 2 comments
Open

Add custom modules? #42

ssteinerx opened this issue Apr 26, 2017 · 2 comments

Comments

@ssteinerx
Copy link

Over in #40 you said:

@jreese
then I'd rather see those implemented as custom modules instead.

Is there a way to add modules that I just missed? As far as I can tell, whatever's in the MarkdownPP/Modules directory gets pulled in but I don't see where the code looks elsewhere.

Even a command line switch like:

-m <extra-modules-path>

Possibly repeated and/or with paths delimited by e.g. ":" would probably be sufficient.

Looks like it'd just have to be searched and added to the list after the built-in modules by exactly the same mechanism and, assuming they conform to the very simple API, should work a treat as they used to say in the olden days.

Yes, no, maybe?

@amyreese
Copy link
Owner

Yeah, adding support for pulling from either a standard path (.markdownpp maybe?) or from a path specified as a flag would be a good start. Happy to review any pull requests, of course. :)

@neosformpeople
Copy link

9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants