프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$col | integer | current col | |
$row | integer | current row | |
$table | array | table data, including rows with content and the maximum width of each col |
메소드 | 설명 | |
---|---|---|
__construct ( $linksAfterEachParagraph = self::LINK_AFTER_CONTENT, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML ) | constructor, see Markdownify::Markdownify() for more information | |
parseString ( $html ) : string | parse a HTML string, clean up footnotes prior |
메소드 | 설명 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_makeFootnotes ( array $matches ) : string | replace HTML representation of footnotes with something more easily parsable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alignTdContent ( &$content, integer $col ) : void | properly pad content so it is aligned as whished should be used with array_walk_recursive on $this->table['rows'] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
flushStacked_abbr ( ) : void | flush stacked abbr tags | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
getCurrentCssSelector ( ) : void | handle tags parsing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleHeader ( integer $level ) : void |
handle header tags (-) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_a_converter ( array $tag, string $buffer ) : string | handle tags conversion | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_a_parser ( ) : void | handle tags parsing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_abbr ( ) : void | handle tags | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dd ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dl ( ) : void |
handle
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dt ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_fn ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_fnref ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_footnotes ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_table ( ) : void |
handle tags tags
메소드 상세
constructor, see Markdownify::Markdownify() for more information
replace HTML representation of footnotes with something more easily parsable
properly pad content so it is aligned as whished
should be used with array_walk_recursive on $this->table['rows']
handle header tags (
-)
handle tags conversion
handle
handle
handle
| tags
|
tags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
protected handleTag_tr ( ) : void | ||
리턴 | void |
public parseString ( $html ) : string | ||
리턴 | string | Markdown formatted output |
protected array $table | ||
리턴 | array |