Start of Fence.
Can be string value such as:
"```"
--or-- regular expression such as
/^```(?:([a-zA-Z]+)?(?:[\r\n]+))(?:[\s\S]+?)/
Matches:
---
fenced text
---
--or--
---text
fenced text
---
bp = new BuildProcess();
const opt = {
fence: {
start: /^---(?:([a-zA-Z]+)?(?:[\r\n]+))(?:[\s\S]+?)/,
end: /^---(?:(?:$)|(?:[\r\n]+))/
}
};
const results = bp.buildInclude('','./includes/replace.txt', opt);
Generated using TypeDoc