You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--out option of remark makes output file(s) based on remarkConfig.settings (which determines remark-stringify's behaviour) only, not on any remark-lint presets and rules.
So, if you want to auto-format your .md files with this extension (or remark * --out) based on, let's say, remark-preset-lint-markdown-style-guide, you have to configure remarkConfig.settings options too even if it seems like duplicating.
Initial checklist
Affected packages and versions
vscode-remark v2.1.0
Link to runnable example
No response
Steps to reproduce
package.json
file and runpnpm install
(ornpm install
):package.json
test.md
Expected behavior
test.md
should be formatted using configured options, resulting:Actual behavior
test.md
is formatted using remark's default options, resulting:...and VSCode shows following warnings (which are parts of
remark-preset-lint-markdown-style-guide
):This means
vscode-remark
recognisesremarkConfig
but ignores them when formatting.The same thing happens with
.remarkrc
(etc.) file.I'm not sure if this is a bug or a missing feature, but I think the formatting feature meant be configurable regarding to #13.
Runtime
Node v16
Package manager
pnpm
OS
Windows
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: