Skip to content

LinkConverter

Properties

config

protected \League\HTMLToMarkdown\Configuration $config

Methods

setConfig

public setConfig(\League\HTMLToMarkdown\Configuration $config): void

Parameters:

Parameter Type Description
$config \League\HTMLToMarkdown\Configuration

convert

public convert(\League\HTMLToMarkdown\ElementInterface $element): string

Parameters:

Parameter Type Description
$element \League\HTMLToMarkdown\ElementInterface

getSupportedTags

public getSupportedTags(): string[]

private isValidAutolink(string $href): bool

Parameters:

Parameter Type Description
$href string

isValidEmail

private isValidEmail(string $email): bool

Parameters:

Parameter Type Description
$email string

shouldStrip

private shouldStrip(): bool


Automatically generated on 2025-03-18