(text: string, isRDoc: boolean)
| 11 | } |
| 12 | |
| 13 | function isChunkStartLine(text: string, isRDoc: boolean) { |
| 14 | if (isRDoc) { |
| 15 | return (isRChunkLine(text)); |
| 16 | } else { |
| 17 | return (!!text.match(/^\s*```+\s*\{\w+\s*.*$/g)); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | function isChunkEndLine(text: string, isRDoc: boolean) { |
| 22 | if (isRDoc) { |
no test coverage detected