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
Open and close delimiters can be passed in as an array of strings.
Example:
// format delims as a string
matter.read('file.md', {delims: '~~~'});
// or an array (open/close)
matter.read('file.md', {delims: ['~~~', '~~~']});
the example is wrong.
it should use delimiters instead of delims.
like that:
Example:
// format delims as a string
matter.read('file.md', {delimiters: '~~~'});
// or an array (open/close)
matter.read('file.md', {delimiters: ['~~~', '~~~']});
The text was updated successfully, but these errors were encountered:
I checked the code. Indeed delims is still the primary source and delimiters is only used when delims is not present.
// ensure that delimiters are an arrayopts.delimiters=utils.arrayify(opts.delims||opts.delimiters||'---');if(opts.delimiters.length===1){opts.delimiters.push(opts.delimiters[0]);}
options.delimiters
Type: String
Default:
---
Open and close delimiters can be passed in as an array of strings.
Example:
the example is wrong.
it should use delimiters instead of delims.
like that:
Example:
The text was updated successfully, but these errors were encountered: