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
configure remark-hugo-shortcodes as a plugin in .remarkrc: { "plugins": [ "preset-lint-consistent", "preset-lint-recommended", "preset-lint-markdown-style-guide", ["remark-lint-no-undefined-references", false], ["remark-frontmatter", ["yaml", "toml"]], "remark-hugo-shortcodes" ] }
run remark --output -- [filepath]
Produces the following error:
1:1 error Error: Cannot parse file .remarkrc
Error: Expected preset or plugin, not undefined, at node_modules/remark-hugo-shortcodes/dist/index.js
at FormattedError (/Users/jasonstirnaman/github/docs-v2/node_modules/fault/index.js:29:12)
at onparse (/Users/jasonstirnaman/github/docs-v2/node_modules/unified-engine/lib/find-up.js:152:13)
at done (/Users/jasonstirnaman/github/docs-v2/node_modules
/trough/wrap.js:55:16)
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
{ "plugins": [ "preset-lint-consistent", "preset-lint-recommended", "preset-lint-markdown-style-guide", ["remark-lint-no-undefined-references", false], ["remark-frontmatter", ["yaml", "toml"]], "remark-hugo-shortcodes" ] }
remark --output -- [filepath]
Produces the following error:
1:1 error Error: Cannot parse file
.remarkrc
Error: Expected preset or plugin, not undefined, at
node_modules/remark-hugo-shortcodes/dist/index.js
at FormattedError (/Users/jasonstirnaman/github/docs-v2/node_modules/fault/index.js:29:12)
at onparse (/Users/jasonstirnaman/github/docs-v2/node_modules/unified-engine/lib/find-up.js:152:13)
at done (/Users/jasonstirnaman/github/docs-v2/node_modules
/trough/wrap.js:55:16)
The text was updated successfully, but these errors were encountered: