omitLines
omitLines(
selector): (codeBlock) =>string
Defined in: client/code-block.ts:72
Parameters
Section titled “Parameters”selector
Section titled “selector”string
Selector used to specify which lines to omit from the resulting code.
Returns
Section titled “Returns”A function that returns the code inside a code block without any lines that match the specified selector.
(
codeBlock):string
Parameters
Section titled “Parameters”codeBlock
Section titled “codeBlock”Returns
Section titled “Returns”string