HeaderConverter
- Full name:
\League\HTMLToMarkdown\Converter\HeaderConverter
- This class implements:
\League\HTMLToMarkdown\Converter\ConverterInterface
,\League\HTMLToMarkdown\ConfigurationAwareInterface
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
STYLE_ATX |
public | 'atx' | |
STYLE_SETEXT |
public | 'setext' |
Properties
config
Methods
setConfig
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\League\HTMLToMarkdown\Configuration |
convert
Parameters:
Parameter | Type | Description |
---|---|---|
$element |
\League\HTMLToMarkdown\ElementInterface |
getSupportedTags
createSetextHeader
Parameters:
Parameter | Type | Description |
---|---|---|
$level |
int | |
$content |
string |
createAtxHeader
Parameters:
Parameter | Type | Description |
---|---|---|
$level |
int | |
$content |
string |
Automatically generated on 2025-03-18