markdown-preview-enhanced icon indicating copy to clipboard operation
markdown-preview-enhanced copied to clipboard

Support for project-specific parser.js

Open monarchwadia opened this issue 4 years ago • 2 comments

parser.js file is currently located at ~/.mume/parser.js

please add support for adding parser.js to the current folder

ideally, the folder structure would then look like:

/..
/.
/some-path/some-other.md
/index.md
/parser.js

Expected behaviour: if parser.js is present in the folder, then use folder parser.js instead of ~/.mume/parser.js

monarchwadia avatar Aug 06 '20 17:08 monarchwadia

This will allow users to create their own utility functions. It can lead to a very rich ecosystem of libraries that extend MPE's functionality. I would love something like this, it would be so amazing to be able to commit parser.js :-)

monarchwadia avatar Aug 06 '20 17:08 monarchwadia

I know it's been 2 years but for the future people, perhaps you can configure the plugin's workspace setting Config Path to a sub-path of your project.

changbowen avatar May 19 '22 13:05 changbowen