doc/UorMarkdown.php
protected function renderHeadline($block) {
		$tag = 'h' . $block['level'];
		$text = $this->renderAbsy($block['content']);
		$slug = strtolower(Inflector::slug($text));

		return sprintf(
			'<%s><a id="%s" class="anchor" href="%s">%s</a></%s>' . "\n",
			$tag,
			$slug,
			'#' . $slug,
			$text,
			$tag
		);
	}
protected function renderHeadline($block) {
		$tag = 'h' . $block['level'];
		$text = $this->renderAbsy($block['content']);
		$slug = strtolower(Inflector::slug($text));

		return sprintf(
			'<%s><a id="%s" class="anchor" href="%s">%s</a></%s>' . "\n",
			$tag,
			$slug,
			'#' . $slug,
			$text,
			$tag
		);
	}
protected function renderHeadline ( $ block ) { $ tag = 'h' . $ block [ 'level' ] ; $ text = $ this -> renderAbsy ( $ block [ 'content' ] ) ; $ slug = strtolower ( Inflector :: slug ( $ text ) ) ; return sprintf ( '<%s><a id="%s" class="anchor" href="%s">%s</a></%s>' . "\n" , $ tag , $ slug , '#' . $ slug , $ text , $ tag ) ; }
Overwritten to make headlines linkable.
Overwritten to make headlines linkable .