You appear to be a bot. Output may be restricted
Description
Create a heading taking into account number of #'s
Usage
oikai_format_markdown_heading( $line );
Parameters
- $line
- ( string ) required – with one or more leading #####
Returns
voidSource
File name: oik-shortcodes/shortcodes/oik-api-importer.phpLines:
1 to 9 of 9
function oikai_format_markdown_heading( $line ) { $len = strlen( $line ); $line = ltrim( $line, "#" ); $level = $len - strlen( $line ); $line = ltrim( $line ); stag( "h$level" ); e( esc_html( $line . " " ) ); etag( "h$level" ); }View on GitHub