remark-comment-config5.0.3 • Public • Published
Configure remark with comments.
npm install remark-comment-config
Say we have the following file,
<!--remark commonmark bullet="*"-->1) Commonmark list (this is a parse setting)- List item (this is a stringify setting)
And our script,
example.js, looks as follows:
var vfile =var remark =var commentConfig =
node example yields:
<!--remark commonmark bullet="*"-->1. Commonmark list (this is a parse setting)* List item (this is a stringify setting)
This is essentially the same as
except that comments are invisible when rendering to HTML (such as on GitHub).
remark-yaml-config— Configure remark from YAML
remark-message-control— Configure messages with comments
remarkjs/remark for ways to get
This organisation has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.