Cecil

MarkdownLink extends AbstractPostProcessor

MarkdownLink class.

This class processes Markdown links in the output HTML, replacing internal links to .md files with the correct URLs. It handles links that may include a section anchor and adjusts the href attribute accordingly.

Table of Contents

Properties

$builder  : Builder
$config  : Config

Methods

__construct()  : mixed
Gives the Builder to the object.
process()  : string
Process output.

Properties

Methods

process()

Process output.

public process(Page $page, string $output, string $format) : string

Replaces internal link to *.md files with the right URL.

Parameters
$page : Page
$output : string
$format : string
Return values
string
 
On this page

Search results