Open donaldtone opened 5 years ago
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 array
opts.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: