芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/cebe/markdown/block/HeadlineTrait.php
$this->parseInline(trim($lines[$current], "# \t")), 'level' => $level, ]; return [$block, $current]; } else { // underlined headline $block = [ 'headline', 'content' => $this->parseInline($lines[$current]), 'level' => $lines[$current + 1][0] === '=' ? 1 : 2, ]; return [$block, $current + 1]; } } /** * Renders a headline */ protected function renderHeadline($block) { $tag = 'h' . $block['level']; return "<$tag>" . $this->renderAbsy($block['content']) . "$tag>\n"; } abstract protected function parseInline($text); abstract protected function renderAbsy($absy); }