Initial checklist
Problem
It is not uncommon to use remark for multiple purposes in a project. For example, it may be used for linting files such as README.md and also used for converting content files into HTML. As a result, I may have multiple remark configuration files - one for each use case.
I would like to name the configuration file for linting to be something like remarklint.config.js, but I can't if I want vscode-remark to pick it up.
Current solutions
Currently, the only approach is to reserve .remarkrc.js for the linting use case, and use different file names for the other configuration files.
Proposed solutions
With remark-cli I can specify which configuration file to use via the --rc-path option:
https://github.com/remarkjs/remark/tree/main/packages/remark-cli#cli
It would be nice if the user could likewise choose which configuration file to use in vscode-remark via a remark.rcPath setting.
The default configuration file can be left as .remarkrc.js, but now users would be able to change that if they wanted.
Initial checklist
Problem
It is not uncommon to use
remarkfor multiple purposes in a project. For example, it may be used for linting files such asREADME.mdand also used for converting content files into HTML. As a result, I may have multipleremarkconfiguration files - one for each use case.I would like to name the configuration file for linting to be something like
remarklint.config.js, but I can't if I wantvscode-remarkto pick it up.Current solutions
Currently, the only approach is to reserve
.remarkrc.jsfor the linting use case, and use different file names for the other configuration files.Proposed solutions
With
remark-cliI can specify which configuration file to use via the--rc-pathoption:https://github.com/remarkjs/remark/tree/main/packages/remark-cli#cli
It would be nice if the user could likewise choose which configuration file to use in
vscode-remarkvia aremark.rcPathsetting.The default configuration file can be left as
.remarkrc.js, but now users would be able to change that if they wanted.