shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.47k stars 173 forks source link

Support for project-specific parser.js #1067

Open monarchwadia opened 4 years ago

monarchwadia commented 4 years ago

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 commented 4 years ago

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 :-)

changbowen commented 2 years ago

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.