Options
All
  • Public
  • Public/Protected
  • All
Menu

Fence Remove

Boolean true or false - Default: false
Determines if fences should be removed from output.
If set to true then fenced sections will be excluded from output.

FENCE EXAMPLE

Matches built in fence rules of StrictFence by seting fence to string value of regexKind.strict and excludes fences from output.

Config

GruntFile.js
module.exports = function (grunt) {
  grunt.initConfig({
    build_include: {
      default: {
        options: {
          fence: 'strict',
          remove: true
        },
        src: './src/maint.ts',
        dest: './scratch/ts/main.ts'
      }
    }
  });
  grunt.loadNpmTasks('grunt-build-include');
  grunt.registerTask('default', ['build_include:default']);
};

Fence Options
All Options

Generated using TypeDoc