Copied!

Adds the table blocks

Abstract Trait
Methods
protected composeTable ( $head , $body )
 

This method composes a table from parsed body and head HTML.

You may override this method to customize the table rendering, for example by
adding a class to the table tag:

return "<table class="table table-striped">\n<thead>\n$head</thead>\n<tbody>\n$body</tbody>\n</table>\n"
  • return string the complete table HTML.
  • since 1.2.0
protected consumeTable ( $lines , $current )
 

Consume lines for a table

protected identifyTable ( $line , $lines , $current )
 

identify a line as the beginning of a table block.

protected abstract parseInline ( $text )
protected parseTd ( $markdown )
 
  • marker |
protected abstract renderAbsy ( $absy )
protected renderTable ( $block )
 

render a table block

© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration