Parsedown::blockCodeContinue( $Line, $Block )
Description
Source
File: bp-help/vendors/parsedown/Parsedown.php
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | protected function blockCodeContinue( $Line , $Block ) { if ( $Line [ 'indent' ] >= 4) { if (isset( $Block [ 'interrupted' ])) { $Block [ 'element' ][ 'element' ][ 'text' ] .= str_repeat ( "\n" , $Block [ 'interrupted' ]); unset( $Block [ 'interrupted' ]); } $Block [ 'element' ][ 'element' ][ 'text' ] .= "\n" ; $text = substr ( $Line [ 'body' ], 4); $Block [ 'element' ][ 'element' ][ 'text' ] .= $text ; return $Block ; } } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.