Skip to content

ParagraphConverter

Methods

convert

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

Parameters:

Parameter Type Description
$element \League\HTMLToMarkdown\ElementInterface

getSupportedTags

public getSupportedTags(): string[]

escapeSpecialCharacters

private escapeSpecialCharacters(string $line): string

Parameters:

Parameter Type Description
$line string

escapeFirstCharacters

private escapeFirstCharacters(string $line): string

Parameters:

Parameter Type Description
$line string

escapeOtherCharacters

private escapeOtherCharacters(string $line): string

Parameters:

Parameter Type Description
$line string

escapeOtherCharactersRegex

private escapeOtherCharactersRegex(string $line): string

Parameters:

Parameter Type Description
$line string


Automatically generated on 2025-03-18