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
---
module.exports = function (grunt) {
grunt.initConfig({
build_include: {
default: {
options: {
fence: {
start: /^---(?:([a-zA-Z]+)?(?:[\r\n]+))(?:[\s\S]+?)/,
end: /^---(?:(?:$)|(?:[\r\n]+))/
}
},
src: './src/maint.ts',
dest: './scratch/ts/main.ts'
}
}
});
grunt.loadNpmTasks('grunt-build-include');
grunt.registerTask('default', ['build_include:default']);
};
Generated using TypeDoc