packages/plugin-code-blocks/src/output/markdown-code-blocks.ts
Function _replaceCodeBlock
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private _replaceCodeBlock( match: MarkdownReplacer.Match, sourceHint: MarkdownReplacer.SourceHint ) {
// Avoid recursion in code blocks
if( this._currentPageMemo.currentReflection instanceof DeclarationReflection && this._currentPageMemo.currentReflection.kind === CODEBLOCK_KIND ){
return undefined;
}