Text to apply after the contents of a file that is to be inserted. This is a literal string and can contain characters such as \n
Text to apply before the contents of a file that is to be inserted. This is a literal string and can contain characters such as \n
The type of encoding or decoding to apply to the contents of a file that is to be inserted. base64, base64Uri, jsString, tsString, uri, uriComponent
Determines if file contents are to be encode or decoded before insertion. encode, decode
Determins if the replacment should attempt to keep white-space indent when the replacement occured
Boolean flag that determins if line breaks should be removed from contents of a file that is to be inserted. Default is false.
Padding options for each line of a file that is to be inserted.
How to process white space lines.
Generated using TypeDoc
Text option.
Text options set in configuration are merged with any text options set in the file that contains the build_include ( or varation of ). File level options will always take priority.
Config
bp = new BuildProcess(); const opt = { match: { kind: 'buildIncludeSlash', path: './md/' }, text: { before: '\n', codekind: 'encode', code: 'jsString' } }; const results = bp.buildInclude('','./includes/replace.js', opt);
See Examples
Examples